CVE-2025-27136 - CVE House
Back to Database
Status published Medium CVE-2025-27136

LocalS3 CreateBucketConfiguration Endpoint XML External Entity (XXE) Injection

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-27136

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

local-s3
Vulnerable Versions:
< 1.21

Timeline

Official Publish: March 10th, 2025
Last Modified: March 10th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)