{"answers":{"affected":"2 open source packages ship an affected version, including io.github.robothy:local-s3-rest.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-27136 exists.","fix":"Upgrade io.github.robothy:local-s3-rest to 1.21 or later.","what":"CVE-2025-27136 is a medium-severity vulnerability in Robothy local-s3, published on 10 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-27136 and fix it if it is affected.\n\nWhat it is: CVE-2025-27136 is a medium-severity vulnerability in Robothy local-s3, published on 10 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-27136 exists.\n\nAffected packages and fixed versions:\n- io.github.robothy:local-s3-rest (Maven): affected all versions; fixed in 1.21\n- io.github.robothy:local-s3-rest (Maven): affected all versions; fixed in 1.21\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-2025-27136/ (Markdown: https://insights.sbomify.com/CVE-2025-27136/index.md)","id":"CVE-2025-27136","markdown":"https://insights.sbomify.com/CVE-2025-27136/index.md","name":"CVE-2025-27136","record":{"aliases":["GHSA-g6wm-2v64-wq36"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"LocalS3 mock service","requires_auth":"none","summary":"An attacker can exploit XXE in LocalS3 to perform SSRF and read internal data by sending crafted XML during bucket creation.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"LocalS3 is an Amazon S3 mock service for testing and local development. Prior to version 1.21, the LocalS3 service's bucket creation endpoint is vulnerable to XML External Entity (XXE) injection. When processing the CreateBucketConfiguration XML document during bucket creation, the service's XML parser is configured to resolve external entities. This allows an attacker to declare an external entity that references an internal URL, which the server will then attempt to fetch when parsing the XML. The vulnerability specifically occurs in the location constraint processing, where the XML parser resolves external entities without proper validation or restrictions. When the external entity is resolved, the server makes an HTTP request to the specified URL and includes the response content in the parsed XML document. This vulnerability can be exploited to perform server-side request forgery (SSRF) attacks, allowing an attacker to make requests to internal services or resources that should not be accessible from external networks. The server will include the responses from these internal requests in the resulting bucket configuration, effectively leaking sensitive information. The attacker only needs to be able to send HTTP requests to the LocalS3 service to exploit this vulnerability.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-03-10","github_poc":2,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-03-11T12:56:43Z","kind":"github_poc","ref":"https://github.com/ZaidMkh32/CVE-2025-27136-XXE-LocalS3","stars":1,"title":"Proof of Concept for CVE-2025-27136 (XXE in Local-S3)"},{"date":"2026-03-10T21:08:22Z","kind":"github_poc","ref":"https://github.com/IssaBoudin/CVE-2025-27136","stars":0,"title":"XML External Entity PoC in an S3."}],"tier":"weaponised"},"has_fix":true,"headline":"LocalS3 CreateBucketConfiguration Endpoint XML External Entity (XXE) Injection","id":"CVE-2025-27136","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"Dependency-Track vulnerable to local file inclusion via custom notification templates","id":"CVE-2025-27137"},"packages":[{"ecosystem":"Maven","fixed":["1.21"],"introduced":["0"],"last_affected":[],"package":"io.github.robothy:local-s3-rest","purl":null,"source":"GHSA-g6wm-2v64-wq36"},{"ecosystem":"Maven","fixed":["1.21"],"introduced":["0"],"last_affected":[],"package":"io.github.robothy:local-s3-rest","purl":"pkg:maven/io.github.robothy/local-s3-rest","source":"GHSA-g6wm-2v64-wq36"}],"prev":{"headline":"RAGFlow SQL Injection vulnerability","id":"CVE-2025-27135"},"products":["local-s3"],"published":"2025-03-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-10","vendors":["Robothy"]},"summary":"An attacker can exploit XXE in LocalS3 to perform SSRF and read internal data by sending crafted XML during bucket creation.","url":"https://insights.sbomify.com/CVE-2025-27136/"}