LocalS3 CreateBucketConfiguration Endpoint XML External Entity (XXE) Injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Robothy | local-s3 | before 1.21 | 1.21 | Patch available | CNA |
| — | io.github.robothy:local-s3-rest (Maven) | before 1.21 | 1.21 | Patch available | GHSA-g6wm-2v64-wq36 |
- local-s3 VendorRobothy Affected before 1.21 Fixed in 1.21 Patch available CNA
- io.github.robothy:local-s3-rest (Maven) Vendor— Affected before 1.21 Fixed in 1.21 Patch available GHSA-g6wm-2v64-wq36
Remediation
- Fix · CNA local-s3 (Robothy) Fixed in 1.21
- Fix · GHSA-g6wm-2v64-wq36 io.github.robothy:local-s3-rest (Maven) Fixed in 1.21 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-27136
- 2026-10-03 Alias added: GHSA-g6wm-2v64-wq36
References
Sources
- CVE-2025-27136 · CVE Program
- CVE-2025-27136 · NVD
- FIRST EPSS
- GHSA-g6wm-2v64-wq36 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences