CVE-2026-59796: JetBrains TeamCity Pipeline Modification Vulnerability (CVSS 8.1)
JetBrains TeamCity versions before 2026.1.2 contain a flaw that allows authenticated users to modify CI/CD pipelines without proper authorization checks. An attacker with valid login credentials can bypass permission controls to alter pipeline configurations, potentially injecting malicious build steps, exfiltrating secrets, or compromising downstream deployments. This is a privilege escalation vulnerability affecting the integrity of your build and release process.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.1 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weaknesses (CWE)
- CWE-862
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-07-10 / 2026-07-14
NVD description (verbatim)
In JetBrains TeamCity before 2026.1.2 pipeline modification was possible due to improper permission checks
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-59796 stems from improper permission validation in TeamCity's pipeline modification endpoints (CWE-862: Missing Authorization). The vulnerability permits authenticated users—including those with restricted roles—to modify pipeline definitions that should be protected by role-based access controls. The network-based attack vector (AV:N) and low attack complexity (AC:L) mean an attacker needs only valid credentials and network access to exploit this flaw. The CVSS 3.1 score of 8.1 reflects high impact to both confidentiality and integrity, though availability is not compromised.
Business impact
Pipeline modification by unauthorized users directly threatens build integrity and software supply chain security. An attacker could inject malicious compilation flags, steal build artifacts or credentials stored in the CI/CD environment, modify deployment targets, or insert backdoors into releases. For organizations using TeamCity as a central build orchestration platform, this vulnerability could affect every artifact produced until detection and remediation. Customers of software built via compromised pipelines face downstream risk.
Affected systems
JetBrains TeamCity versions prior to 2026.1.2 are affected. Organizations running TeamCity on-premises or via JetBrains Cloud should verify their current version and upgrade immediately. The vulnerability affects all deployments regardless of scale or network configuration, though exploitation requires valid TeamCity credentials.
Exploitability
This vulnerability is not currently on the CISA Known Exploited Vulnerabilities (KEV) catalog, indicating no observed in-the-wild exploitation as of the publication date. However, exploitability is moderately high because: (1) attackers with employee or contractor credentials can exploit it without additional technical barriers, (2) the attack is straightforward once authenticated, and (3) typical CI/CD environments contain high-value targets. Insider threats and compromised employee accounts pose immediate risk.
Remediation
Upgrade JetBrains TeamCity to version 2026.1.2 or later. This release includes corrected permission checks on pipeline modification operations. Verify the upgrade in your release notes and test in a non-production environment first. After patching, conduct an access control audit to identify unauthorized pipeline changes made during the vulnerability window.
Patch guidance
1. Review your current TeamCity version via Administration > About. 2. Back up your TeamCity server configuration and database before upgrading. 3. Download and install JetBrains TeamCity 2026.1.2 from the official JetBrains website, following their upgrade documentation. 4. Test pipeline execution and permission restrictions in a staging environment before deploying to production. 5. Monitor build logs and pipeline modification history for suspicious changes made prior to the patch date. 6. Consider re-authenticating high-privilege accounts and rotating any credentials that may have been exposed in pipelines.
Detection guidance
Search TeamCity audit logs for unauthorized pipeline modification attempts or successful modifications by users without expected permissions. Look for build configuration edits, step additions, or variable changes initiated by non-administrative accounts. Monitor for unusual build step commands (e.g., credential exfiltration, reverse shells) that may indicate post-exploitation activity. If running TeamCity 2026.1.2 or later, implement alerts on permission denial events to catch future exploitation attempts.
Why prioritize this
This HIGH-severity vulnerability merits immediate action because it directly undermines software supply chain integrity. The combination of low attack complexity, authenticated access requirement, and high impact to confidentiality and integrity makes it a prime target for insider threats and compromised credentials. CI/CD systems are high-value attack targets; any permission bypass here can affect production deployments and customer trust.
Risk score, explained
The CVSS 3.1 score of 8.1 (HIGH) reflects an authenticated attacker's ability to significantly compromise pipeline integrity and confidentiality without affecting system availability. The attack requires valid credentials (PR:L), but once authenticated, the attacker faces no additional complexity (AC:L) and can exploit the vulnerability over the network (AV:N). The unscoped impact (S:U) and absence of availability harm still allow exploitation to cause critical business damage.
Frequently asked questions
Can this vulnerability be exploited without valid TeamCity credentials?
No. The vulnerability requires an authenticated user account (PR:L in the CVSS vector). However, compromised employee accounts, contractor credentials, or insider threats all qualify as viable attack paths.
What versions of TeamCity are affected?
All versions before 2026.1.2 are affected. If your installation is at 2026.1.2 or later, you have the fix. Verify your version in Administration > About.
Is there active exploit code in the wild?
As of the publication date, this vulnerability is not listed on the CISA KEV catalog, meaning no widespread in-the-wild exploitation has been publicly reported. However, organizations should not delay patching based on this—the vulnerability is straightforward to exploit for anyone with valid credentials.
What should I do if I suspect unauthorized pipeline changes were made before I patch?
Immediately audit your pipeline definitions and build history for suspicious modifications. Check for added build steps, changed credentials or environment variables, and unexpected build outputs. Consider quarantining and re-signing any artifacts produced during the vulnerability window until you can verify integrity.
This analysis is provided for informational purposes by SEC.co and does not constitute legal or professional security advice. Patch versions, affected product scope, and CVSS scores are derived from official CVE records and vendor advisories; verify all details with JetBrains official security communications before deployment decisions. Organizations are responsible for assessing their own risk posture and determining appropriate remediation timelines based on their threat model and asset criticality. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-49367HIGHIntelliJ IDEA Guest Account Command Execution Vulnerability
- CVE-2026-49374HIGHJetBrains TeamCity Build Parameter Authorization Bypass
- CVE-2026-49378MEDIUMTeamCity Credential Exposure via Parameter Autocompletion
- CVE-2026-49385MEDIUMJetBrains YouTrack Service Account Privilege Escalation
- CVE-2026-57921MEDIUMJetBrains YouTrack Improper Access Control – Data Disclosure Vulnerability
- CVE-2026-57922LOWYouTrack MCP Project Settings Disclosure (Low Severity)
- CVE-2026-57923MEDIUMJetBrains YouTrack Authorization Bypass in App Configurations
- CVE-2026-57925MEDIUMJetBrains YouTrack Access Control Flaw – Query and Tag Disclosure