Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-113357 Overview
CVE-2026-113357 is an improper authorization vulnerability [CWE-863] in the @e2e-dev/github package before version 0.4.1. The flaw lets pull request commenters hijack continuous integration (CI) test reports by posting comments with a predictable marker string. The findComment and upsertComment functions in post.ts locate the report comment by marker alone, without validating the comment author. Attackers can place a comment that the integration later edits with CI results, allowing them to turn failures into passes or suppress reports entirely. This weakens the integrity of pull request review signals that maintainers rely on before merging code.
Critical Impact
Attackers with pull request comment privileges can forge or suppress CI test outcomes, undermining code review trust and enabling malicious changes to appear green.
Affected Products
- @e2e-dev/github npm package, versions prior to 0.4.1
- GitHub Actions workflows that post CI test reports through the affected package
- Repositories integrating the post.ts helpers findComment and upsertComment
Discovery Timeline
- 2026-10-20 - CVE-2026-113357 published to NVD
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-113357
Vulnerability Analysis
The @e2e-dev/github package posts CI test reports as pull request comments. To update an existing report instead of adding a new one, the package searches for a prior comment containing a fixed marker string. The lookup logic in post.ts matches on the marker only, with no check that the comment was authored by the trusted bot or app identity.
An attacker who can comment on a pull request, including external contributors on public repositories, can pre-post a comment containing the same marker. The package then treats that attacker-owned comment as the canonical report and writes CI output into it. Because the comment is owned by the attacker, they can edit it after the fact to misrepresent results.
The impact targets integrity of CI signals. Reviewers who rely on the posted status may merge pull requests that in reality failed tests, or dismiss changes whose genuine reports were suppressed.
Root Cause
The root cause is missing authorization in comment identification. findComment filters comments by content marker but never verifies user.login or user.type against an allowlist such as github-actions[bot] or the integration's own app identity. Marker-only matching is a predictable, forgeable identifier.
Attack Vector
Exploitation requires network access to the target repository and the low privilege of being able to comment on a pull request. User interaction from a maintainer, such as merging the pull request based on a forged pass, is typically needed to realize full impact. See the VulnCheck advisory and the upstream fix commit for technical details.
// No verified exploit code published. See the vendor patch and advisory
// linked in the references for the authoritative fix.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-113357
Indicators of Compromise
- Pull request comments authored by non-bot users that contain the @e2e-dev/github CI report marker string.
- CI report comments whose author (user.login) does not match the integration's bot identity.
- Edits to CI report comments made by human accounts rather than the posting bot.
Detection Strategies
- Audit pull request comment histories for the report marker and flag any instance where the author is not the expected GitHub App or bot account.
- Scan repositories for use of @e2e-dev/github at versions below 0.4.1 in package.json or package-lock.json.
- Compare CI job conclusions from the GitHub Checks API against the status shown in pull request comments to detect mismatches.
Monitoring Recommendations
- Enable branch protection rules that require passing status checks from the GitHub Checks or Statuses API rather than relying on comment content.
- Log and alert on pull request comment create and edit events from external contributors on repositories that run the affected package.
- Track dependency upgrades of @e2e-dev/github across your organization to confirm 0.4.1 or later is deployed.
How to Mitigate CVE-2026-113357
Immediate Actions Required
- Upgrade @e2e-dev/github to version 0.4.1 or later across all repositories and workflows.
- Review merged pull requests that used the affected integration for signs of hijacked or suppressed CI reports.
- Require status checks sourced from the GitHub Checks API as merge gates, not comment content.
Patch Information
The fix is published in the GitHub release tag 0.4.1 and implemented in the upstream commit. The patch adds author validation so that findComment and upsertComment only match comments posted by the trusted integration identity. Refer to the source file post.ts and the pull request discussion for implementation context.
Workarounds
- Restrict pull request comment permissions on sensitive repositories so that only trusted contributors can comment.
- Configure branch protection to require signed, API-sourced check results instead of comment-based status.
- Temporarily disable the automated comment update feature and post a fresh report per run while patching is in progress.
# Upgrade the affected package
npm install @e2e-dev/github@^0.4.1
# Verify the installed version
npm ls @e2e-dev/github
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

