{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2023-42793 in the wild since at least 4 Oct 2023, including in ransomware campaigns.","fix":"No fix has been published for CVE-2023-42793 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 25 Oct 2023.","what":"CVE-2023-42793 is a critical authentication bypass vulnerability in Jetbrains Teamcity, published on 19 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-42793 and fix it if it is affected.\n\nWhat it is: CVE-2023-42793 is a critical authentication bypass vulnerability in Jetbrains Teamcity, published on 19 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2023-42793 in the wild since at least 4 Oct 2023, including in ransomware campaigns.\n\nAffected product: Jetbrains Teamcity. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-42793/ (Markdown: https://insights.sbomify.com/CVE-2023-42793/index.md)","id":"CVE-2023-42793","markdown":"https://insights.sbomify.com/CVE-2023-42793/index.md","name":"CVE-2023-42793","record":{"aliases":["GHSA-w796-2gq9-7jm8"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"CI/CD server","requires_auth":"none","summary":"Attackers can bypass authentication to execute arbitrary code on the TeamCity server, requiring immediate upgrade.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"JetBrains","cpe":[{"product":"teamcity","vendor":"jetbrains"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"},{"id":"CWE-288","name":"Authentication Bypass Using an Alternate Path or Channel"}],"description":"In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2023-09-19","github_poc":17,"max_poc_stars":45,"metasploit":1,"nuclei":1,"refs":[{"date":"2023-09-29T06:43:35Z","kind":"github_poc","ref":"https://github.com/H454NSec/CVE-2023-42793","stars":45,"title":"JetBrains TeamCity Authentication Bypass CVE-2023-42793 Exploit"},{"date":"2024-04-24T16:33:20Z","kind":"github_poc","ref":"https://github.com/B4l3rI0n/CVE-2023-42793","stars":11,"title":"JetBrains TeamCity 2023.05.3 - Remote Code Execution (RCE), CVE-2023-42793"},{"date":"2023-10-05T18:12:25Z","kind":"github_poc","ref":"https://github.com/Zenmovie/CVE-2023-42793","stars":9,"title":"PoC of CVE-2023-42793"},{"date":"2024-04-21T13:52:28Z","kind":"github_poc","ref":"https://github.com/hotplugin0x01/CVE-2023-42793","stars":2,"title":"JetBrains TeamCity Unauthenticated Remote Code Execution - Python3 POC"},{"date":"2024-05-27T03:31:57Z","kind":"github_poc","ref":"https://github.com/junnythemarksman/CVE-2023-42793","stars":1,"title":"TeamCity CVE-2023-42793 exploit written in Rust"},{"date":"2024-07-05T17:39:25Z","kind":"github_poc","ref":"https://github.com/hhesenjan/CVE-2023-42793","stars":1,"title":"TeamCity RCE for Linux (CVE-2023-42793)"},{"date":"2024-09-20T12:15:25Z","kind":"github_poc","ref":"https://github.com/SwiftSecur/teamcity-exploit-cve-2023-42793","stars":1,"title":"teamcity-exploit-cve-2023-42793"},{"date":"2025-05-11T16:59:22Z","kind":"github_poc","ref":"https://github.com/syaifulandy/Nuclei-Template-CVE-2023-42793.yaml","stars":1,"title":"Windows \u0026 linux support"}],"tier":"exploited"},"has_fix":null,"headline":"JetBrains TeamCity Authentication Bypass","id":"CVE-2023-42793","indexable":true,"kev":{"dateAdded":"2023-10-04","dueDate":"2023-10-25","knownRansomwareCampaignUse":"Known","product":"TeamCity","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"JetBrains","vulnerabilityName":"JetBrains TeamCity Authentication Bypass Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"jetbrains:teamcity","products":["jetbrains:teamcity"],"type":"auth_bypass","year":"2023"},"n_packages":0,"n_references":7,"next":{"headline":"Apache Tomcat: FileUpload: DoS due to accumulation of temporary files on Windows","id":"CVE-2023-42794"},"packages":[],"prev":{"headline":"Apache Airflow: Improper access control to DAG resources","id":"CVE-2023-42792"},"products":["TeamCity"],"published":"2023-09-19","related":[{"cvss_score":9.8,"headline":"JetBrains TeamCity Deserialization of Untrusted Data","id":"CVE-2026-63077","kev_date_added":"2026-08-05","published":"2026-07-27"},{"cvss_score":9.8,"headline":"JetBrains TeamCity Authentication Bypass","id":"CVE-2024-27198","kev_date_added":"2024-03-07","published":"2024-03-04"},{"cvss_score":7.3,"headline":"JetBrains TeamCity Relative Path Traversal","id":"CVE-2024-27199","kev_date_added":"2026-04-20","published":"2024-03-04"},{"cvss_score":9.8,"headline":"Auth bypass in TeamCity","id":"CVE-2024-23917","kev_date_added":null,"published":"2024-02-06"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2022-24331","kev_date_added":null,"published":"2022-02-25"},{"cvss_score":9.8,"headline":"XML external entity in n/a","id":"CVE-2022-24340","kev_date_added":null,"published":"2022-02-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["JetBrains"]},"summary":"Attackers can bypass authentication to execute arbitrary code on the TeamCity server, requiring immediate upgrade.","url":"https://insights.sbomify.com/CVE-2023-42793/"}