CVE-2026-42860: Open edX Enterprise Service SSRF in sync_provider_data endpoint

CVE-2026-42860 · Severity: high · CVSS 8.5 · Published 2026-05-11

A vulnerability in the edx-enterprise library, used in Open edX learning platforms, allows administrative users to perform Server-Side Request Forgery (SSRF). By providing a malicious URL in the SAML configuration, an attacker can force the server to make requests to internal systems or cloud metadata services. This could lead to the theft of sensitive cloud credentials, internal network scanning, or unauthorized access to private internal APIs.

Vendors: Open edX, PyPI.

Quick answers

Is CVE-2026-42860 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-42860 being exploited in the wild.
How severe is CVE-2026-42860?
High severity, with a CVSS score of 8.5, published 11 May 2026.
Which products and versions are affected?
Open edX Edx-Enterprise >= 7.0.2, <= 7.0.4, 7.0.2 - 7.0.4; edx-enterprise (PyPI) ECOSYSTEM:introduced=7.0.2,fixed=7.0.5.
Is there a fix for CVE-2026-42860?
Yes. edx-enterprise (PyPI): upgrade to 7.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-42860 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-42860?
Check whether you run Open edX Edx-Enterprise or edx-enterprise (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • edx-enterprise (PyPI): upgrade to 7.0.5 or later
    pip install "edx-enterprise>=7.0.5"

Technical details

A Server-Side Request Forgery (SSRF) vulnerability exists in the `sync_provider_data` endpoint of the `SAMLProviderDataViewSet`. The root cause is the `fetch_metadata_xml` function in `saml_utils.py`, which uses `requests.get()` on a user-controlled URL without validating the protocol scheme, enforcing IP allowlists/blocklists (such as RFC 1918 or link-local addresses), or setting a request timeout. An authenticated attacker with the 'Enterprise Admin' role can modify the `metadata_source` field via a PATCH request and then trigger an outbound HTTP request from the server. This can be exploited to access cloud instance metadata services (e.g., AWS IMDS) to retrieve IAM credentials or to scan internal network services. The issue is fixed in version 7.0.5.

Affected products

  • Open edX edx-enterprise >= 7.0.2, <= 7.0.4

Identifiers

  • CVE-2026-42860
  • GHSA-64cv-vxpr-j6vc
  • PYSEC-2026-58

Timeline

  • 2026-04-24: disclosed
  • 2026-05-05: advisory
  • 2026-05-05: patched: Version 7.0.5 released

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.