CVE intelligence and bounded remediation
CVE-2025-27136 — LocalS3 is an Amazon S3 mock service for testing and local development
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 attack…
- Severity
- Medium
- CVSS
- 5.5 (4.0)
- Published
- 2025-03-10
- CISA KEV
- Not currently listed
- Ecosystem
- software/application
- Weaknesses
- CWE-611
Affected products
No browser-safe affected-product rows are available.
Matched remediation archetype
XML external entity and unsafe XML processing
This catalog composition supplies bounded fallback guidance. Explicitly reviewed curated workflows load with the complete record below.
Check exposure
- Inventory XML parsers used by APIs, file imports, office or image formats, identity protocols, feeds, and background jobs.
- Determine whether document type declarations, external entities, XInclude, schemas, or network resolvers are enabled.
- Map parser filesystem and network access and the sensitivity of documents it processes.
Remediate safely
- Configure each parser to reject document type declarations and disable external entity, XInclude, and network resolution features.
- Prefer a data format or hardened parser that does not support external resolution, and apply input size and depth limits.
- Update affected XML libraries and centralize secure parser construction so callers cannot silently override it.
Authoritative sources
Complete CVE record and remediation plan
The detailed catalog view below loads this exact record, its source evidence, and the full seven-phase agentic change plan.