# CVE-2025-25297: Label Studio allows Server-Side Request Forgery in the S3 Storage Endpoint

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.78% (percentile 52, 2026-11-28)
- **CWE:** CWE-918
- **Aliases:** GHSA-m238-fmcw-wh58, PYSEC-2026-1503
- **Published:** 2025-02-14T15:26:56.000Z
- **Modified:** 2026-07-07T17:56:26.005Z

## Who should check

- Projects that depend on PyPI package label-studio (\< 1.16.0)
- Anyone running HumanSignal label-studio \< 1.16.0

## Description

Label Studio is an open source data labeling tool. Prior to version 1.16.0, Label Studio's S3 storage integration feature contains a Server-Side Request Forgery (SSRF) vulnerability in its endpoint configuration. When creating an S3 storage connection, the application allows users to specify a custom S3 endpoint URL via the s3\_endpoint parameter. This endpoint URL is passed directly to the boto3 AWS SDK without proper validation or restrictions on the protocol or destination. The vulnerability allows an attacker to make the application send HTTP requests to arbitrary internal services by specifying them as the S3 endpoint. When the storage sync operation is triggered, the application attempts to make S3 API calls to the specified endpoint, effectively making HTTP requests to the target service and returning the response in error messages. This SSRF vulnerability enables attackers to bypass network segmentation and access internal services that should not be accessible from the external network. The vulnerability is particularly severe because error messages from failed requests contain the full response body, allowing data exfiltration from internal services. Version 1.16.0 contains a patch for the issue.

## Affected and fixed versions

- PyPI `label-studio`: affected \< 1.16.0; fixed 1.16.0 (osv)
- HumanSignal label-studio: \< 1.16.0 (cvelist)

## Mitigation

- Upgrade label-studio to 1.16.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-25297. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-25297.md
Affected: label-studio < 1.16.0
Fixed in: 1.16.0

Steps:
1. Search this machine and project for label-studio (PyPI), HumanSignal label-studio: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-25297 being exploited?

There is no confirmed exploitation: CVE-2025-25297 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-25297?

High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-25297?

label-studio \< 1.16.0.

### Is there a fix for CVE-2025-25297?

Yes. Fixed in 1.16.0. Upgrade label-studio to 1.16.0 or later.

### How do I check if I'm affected by CVE-2025-25297?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/HumanSignal/label-studio/security/advisories/GHSA-m238-fmcw-wh58>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-25297>
- vendor: <https://github.com/advisories/GHSA-m238-fmcw-wh58>
- patch: <https://github.com/HumanSignal/label-studio/commit/06a2b29c1208e1878ccae66e6b84c8b24598fa79>
- other: <https://github.com/HumanSignal/label-studio>
- other: <https://pypi.org/project/label-studio>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-25297>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-m238-fmcw-wh58> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1503> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-25297> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-25297>
