{"items":[{"id":"NVI-00000794","kind":"vulnerability","title":"Gitea: Remote Code Execution via diffpatch Git Hook Installation","revision":4,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","CISA catalog date-added and due-date fields are not the original vulnerability disclosure date or universal legal deadlines.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-rcr6-4jqh-j84m","CVE-2026-60004"],"plain_summary":"GitHub lists this reviewed advisory for gitea.dev. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-0bbffd06993700d9a9c672d4d3bb80fd"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.","source_ids":["sr-6f61bd38b295de876c7a873299c224a7"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-09-08T17:56:31.000Z","value":"9.8 critical","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-472e25db49b47326ece041e7f1556881"},{"kind":"CISA_KEV","as_of":"2026-08-25T00:00:00.000Z","value":"Listed","meaning":"CISA lists known exploitation. This does not establish exploitation of your system.","source_id":"sr-6f61bd38b295de876c7a873299c224a7"},{"kind":"CVSS","as_of":"2026-08-27T11:41:19.230Z","value":"9.8 CRITICAL (3.1)","meaning":"cve@mitre.org severity; no combined Null risk score.","source_id":"sr-6a135117b25b1452d32d745f7ddeafc4"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"23.988%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.97841. Missing scores are unknown.","source_id":"sr-0bbffd06993700d9a9c672d4d3bb80fd"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-472e25db49b47326ece041e7f1556881","url":"https://github.com/advisories/GHSA-rcr6-4jqh-j84m","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-rcr6-4jqh-j84m","publisher":"GitHub Advisory Database","observed_at":"2026-11-02T02:20:31.767Z"},{"id":"sr-6f61bd38b295de876c7a873299c224a7","url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","basis":"official_catalog","notes":"CISA KEV; CC0 1.0. Catalog assertions are not evidence of customer compromise.","title":"CVE-2026-60004","publisher":"CISA","observed_at":"2026-10-31T20:54:12.600Z"},{"id":"sr-6a135117b25b1452d32d745f7ddeafc4","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-60004","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-60004","publisher":"NIST National Vulnerability Database","observed_at":"2026-10-31T21:44:03.665Z"},{"id":"sr-0bbffd06993700d9a9c672d4d3bb80fd","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-60004","publisher":"FIRST EPSS","observed_at":"2026-10-31T21:41:13.231Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-472e25db49b47326ece041e7f1556881"],"technology":"gitea.dev","known_exclusions":[],"conditions_summary":"### Summary\n\nGitea's `diffpatch` endpoint can be abused to install and execute a Git hook from repository-controlled content.\n\nAn attacker with ordinary write access to a repository can execute arbitrary shell commands as the Gitea OS user. With default open registration, an unauthenticated visitor can obtain the required write access by registering an account and creating a repository.\n\n### Details\n\n`services/repository/files/patch.go` applies attacker-controlled patches in a shared bare temporary clone:\n\n```go\ncmdApply := gitcmd.NewCommand(\"apply\", \"--index\", \"--recount\", \"--cached\", \"--binary\")\nif git.DefaultFeatures().CheckVersionAtLeast(\"2.32\") {\n    cmdApply.AddArguments(\"-3\")\n}\n````\n\nSubmitting the same patch twice creates an add/add collision. Git's three-way fallback checks the indexed path out even though the operation is performed with `--cached`.\n\nIn a bare clone, the repository root is `$GIT_DIR`. As a result, an executable entry named:\n\n```text\nhooks/post-index-change\n```\n\nbecomes a live Git hook.\n\nGit invokes the hook while writing the index, allowing repository-controlled content to execute arbitrary commands as the Gitea service account.\n\nThe hook's return value is","public_affected_ranges":[">= 1.17.0, < 1.27.1"]},{"certainty":"source_listed","source_ids":["sr-6f61bd38b295de876c7a873299c224a7"],"technology":"Gitea Gitea","known_exclusions":[],"conditions_summary":"CISA does not supply a complete application-specific affected range here. Follow the linked vendor advisory for version and configuration prerequisites.","public_affected_ranges":[]}],"null_published_at":"2026-11-02T10:00:37.207Z","source_updated_at":"2026-09-08T17:56:31.000Z","source_disclosed_at":"2026-09-08T17:56:30.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T20:54:12.600Z"},{"id":"NVI-00000794","kind":"vulnerability","title":"Gitea Code Injection Vulnerability","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","CISA catalog date-added and due-date fields are not the original vulnerability disclosure date or universal legal deadlines.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["CVE-2026-60004"],"plain_summary":"CISA lists CVE-2026-60004 in its Known Exploited Vulnerabilities catalog. The catalog names Gitea Gitea; it does not establish that a particular visitor is exposed or compromised.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.","source_ids":["sr-6f61bd38b295de876c7a873299c224a7"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-0bbffd06993700d9a9c672d4d3bb80fd"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CISA_KEV","as_of":"2026-08-25T00:00:00.000Z","value":"Listed","meaning":"CISA lists known exploitation. This does not establish exploitation of your system.","source_id":"sr-6f61bd38b295de876c7a873299c224a7"},{"kind":"CVSS","as_of":"2026-08-27T11:41:19.230Z","value":"9.8 CRITICAL (3.1)","meaning":"cve@mitre.org severity; no combined Null risk score.","source_id":"sr-6a135117b25b1452d32d745f7ddeafc4"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"23.988%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.97841. Missing scores are unknown.","source_id":"sr-0bbffd06993700d9a9c672d4d3bb80fd"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-6f61bd38b295de876c7a873299c224a7","url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","basis":"official_catalog","notes":"CISA KEV; CC0 1.0. Catalog assertions are not evidence of customer compromise.","title":"CVE-2026-60004","publisher":"CISA","observed_at":"2026-10-31T20:54:12.600Z"},{"id":"sr-6a135117b25b1452d32d745f7ddeafc4","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-60004","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-60004","publisher":"NIST National Vulnerability Database","observed_at":"2026-10-31T21:44:03.665Z"},{"id":"sr-0bbffd06993700d9a9c672d4d3bb80fd","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-60004","publisher":"FIRST EPSS","observed_at":"2026-10-31T21:41:13.231Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-6f61bd38b295de876c7a873299c224a7"],"technology":"Gitea Gitea","known_exclusions":[],"conditions_summary":"CISA does not supply a complete application-specific affected range here. Follow the linked vendor advisory for version and configuration prerequisites.","public_affected_ranges":[]}],"null_published_at":"2026-10-31T21:54:04.922Z","source_updated_at":"2026-08-25T00:00:00.000Z","source_disclosed_at":null,"is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T20:54:12.600Z"},{"id":"NVI-00000794","kind":"vulnerability","title":"Gitea Code Injection Vulnerability","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","CISA catalog date-added and due-date fields are not the original vulnerability disclosure date or universal legal deadlines."],"lifecycle":"active","identifiers":["CVE-2026-60004"],"plain_summary":"CISA lists CVE-2026-60004 in its Known Exploited Vulnerabilities catalog. The catalog names Gitea Gitea; it does not establish that a particular visitor is exposed or compromised.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.","source_ids":["sr-6f61bd38b295de876c7a873299c224a7"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CISA_KEV","as_of":"2026-08-25T00:00:00.000Z","value":"Listed","meaning":"CISA lists known exploitation. This does not establish exploitation of your system.","source_id":"sr-6f61bd38b295de876c7a873299c224a7"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-6f61bd38b295de876c7a873299c224a7","url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","basis":"official_catalog","notes":"CISA KEV; CC0 1.0. Catalog assertions are not evidence of customer compromise.","title":"CVE-2026-60004","publisher":"CISA","observed_at":"2026-10-31T20:54:12.600Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-6f61bd38b295de876c7a873299c224a7"],"technology":"Gitea Gitea","known_exclusions":[],"conditions_summary":"CISA does not supply a complete application-specific affected range here. Follow the linked vendor advisory for version and configuration prerequisites.","public_affected_ranges":[]}],"null_published_at":"2026-10-31T21:40:39.178Z","source_updated_at":"2026-08-25T00:00:00.000Z","source_disclosed_at":null,"is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T20:54:12.600Z"}],"next_cursor":null,"snapshot_revision":"42594"}