{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-24685 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-24685 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-24685 is a critical command injection vulnerability in opf openproject, published on 28 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-24685 and fix it if it is affected.\n\nWhat it is: CVE-2026-24685 is a critical command injection vulnerability in opf openproject, published on 28 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-24685 in the wild and no public exploit code.\n\nAffected product: opf openproject. 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-2026-24685/ (Markdown: https://insights.sbomify.com/CVE-2026-24685/index.md)","id":"CVE-2026-24685","markdown":"https://insights.sbomify.com/CVE-2026-24685/index.md","name":"CVE-2026-24685","record":{"aliases":["GHSA-74p5-9pr3-r6pw"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenProject project management","requires_auth":"low_privilege","summary":"Attackers with repository browse permissions can inject git options to write arbitrary files, causing data loss or denial of service.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"openproject","vendor":"openproject"}],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"OpenProject is an open-source, web-based project management software. Versions prior to 16.6.6 and 17.0.2 have an arbitrary file write vulnerability in OpenProject’s repository diff download endpoint (`/projects/:project_id/repository/diff.diff`) when rendering a single revision via git show. By supplying a specially crafted rev value (for example, `rev=--output=/tmp/poc.txt)`, an attacker can inject git show command-line options. When OpenProject executes the SCM command, Git interprets the attacker-controlled rev as an option and writes the output to an attacker-chosen path. As a result, any user with the `:browse_repository` permission on the project can create or overwrite arbitrary files that the OpenProject process user is permitted to write. The written contents consist of git show output (commit metadata and patch), but overwriting application or configuration files still leads to data loss and denial of service, impacting integrity and availability. The issue has been fixed in OpenProject 17.0.2 and 16.6.6.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"OpenProject has Argument Injection on Repository module that allows Arbitrary File Write","id":"CVE-2026-24685","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"go-tuf Path Traversal in TAP 4 Multirepo Client Allows Arbitrary File Write via Malicious Repository Names","id":"CVE-2026-24686"},"packages":[],"prev":{"headline":"FreeRDP has a Heap-use-after-free in play_thread","id":"CVE-2026-24684"},"products":["openproject"],"published":"2026-01-28","related":[{"cvss_score":9.9,"headline":"OpenProject: SQL Injection in Cost Reporting =n Operator via parse_number_string","id":"CVE-2026-34717","kev_date_added":null,"published":"2026-04-02"},{"cvss_score":9.4,"headline":"Command Injection on OpenProject repositories leads to Remote Code Execution","id":"CVE-2026-25763","kev_date_added":null,"published":"2026-02-06"},{"cvss_score":9.1,"headline":"OpenProject has a SQL Injection via Custom Field Name that can be chained to Remote Code Execution","id":"CVE-2026-32698","kev_date_added":null,"published":"2026-03-18"},{"cvss_score":9.1,"headline":"OpenProject's repository files are served with the MIME type allowing them to be used to bypass Content Security Policy","id":"CVE-2026-32703","kev_date_added":null,"published":"2026-03-18"},{"cvss_score":9.1,"headline":"OpenProject is Vulnerable to Arbitrary File Read via ImageMagick SVG Coder","id":"CVE-2026-22600","kev_date_added":null,"published":"2026-01-10"},{"cvss_score":8.9,"headline":"OpenProject has SSRF and CSWSH in Hocuspocus Synchronization Server","id":"CVE-2026-24772","kev_date_added":null,"published":"2026-01-28"}],"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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-01-28","vendors":["opf"]},"summary":"Attackers with repository browse permissions can inject git options to write arbitrary files, causing data loss or denial of service.","url":"https://insights.sbomify.com/CVE-2026-24685/"}