# CVE-2025-27136: LocalS3 CreateBucketConfiguration Endpoint XML External Entity (XXE) Injection

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-02)
- Published: 2025-03-10T18:24:35.000Z
- Modified: 2026-06-17T09:03:04.770Z
- Also known as: GHSA-g6wm-2v64-wq36
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Robothy local-s3: < 1.21
- io.github.robothy:local-s3-rest (Maven): before 1.21

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/Robothy/local-s3/security/advisories/GHSA-g6wm-2v64-wq36> (web)
- <https://github.com/Robothy/local-s3/commit/d6ed756ceb30c1eb9d4263321ac683d734f8836f> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27136> (advisory)
- <https://github.com/Robothy/local-s3> (package)

## Sources

- CVE List: [CVE-2025-27136](https://www.cve.org/CVERecord?id=CVE-2025-27136), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-g6wm-2v64-wq36](https://github.com/advisories/GHSA-g6wm-2v64-wq36), CC-BY-4.0, modified 2025-03-14
- NVD: [CVE-2025-27136](https://nvd.nist.gov/vuln/detail/CVE-2025-27136), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27136 · Whole record: https://cve.day/CVE-2025-27136.json · Rebuilt by cve.day 2026-11-25T22:58:55.089Z
