CVE-2026-21887: Pycti OpenCTI Has Semi-Blind SSRF Vulnerability
HIGHCVE-2026-21887 is a HIGH (CVSS 7.7) opencti has semi-blind ssrf vulnerability (CWE-20: Improper Input Validation) affecting Pycti libraries in the PyPI ecosystem. The issue involves opencti has semi-blind ssrf via unvalidated external url in data ingestion feature. Remediation is available by upgrading affected packages to version 6.8.16.
CVE-2026-21887 at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2026-21887
To remediate this vulnerability, upgrade all affected Pycti dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pycti>=6.8.16
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pycti
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-21887, inspect your installed packages using pip:
pip show pycti
Analyze the terminal output to locate any version of Pycti in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.8.16), your application is affected.
Note: The pip show pycti command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Pycti, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-21887 Affected Pycti Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pycti
|
PyPI |
< 6.8.16
|
6.8.16
|
References
Frequently Asked Questions
What is CVE-2026-21887?
Which Pycti versions are affected?
What version fixes CVE-2026-21887?
Is pycti affected?
What is the CVSS score of CVE-2026-21887?
What CWE is associated with CVE-2026-21887?
How can I check PyPI dependencies for CVE-2026-21887?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ffm6-vvph-g5f5",
"modified" : "2026-06-22T17:01:22Z",
"published" : "2026-06-22T17:01:22Z",
"aliases" : [ "CVE-2026-21887" ],
"summary" : "OpenCTI has Semi-Blind SSRF via Unvalidated External URL in Data Ingestion Feature",
"details" : "### Summary\nThe OpenCTI platform’s data ingestion feature accepts user-supplied URLs without validation and uses the Axios HTTP client with its default configuration (allowAbsoluteUrls: true). This allows attackers to craft requests to arbitrary endpoints, including internal services, because Axios will accept and process absolute URLs.\n\nThis results in a semi-blind SSRF, as responses may not be fully visible but can still impact internal systems.\n\n### Impact\nOpenCTI’s data ingestion feature can allow an attacker to make the application send HTTP requests to arbitrary internal or external endpoints. This means an attacker could reach internal services that are not exposed publicly, such as Elasticsearch, Redis, or RabbitMQ, and potentially extract sensitive data or manipulate internal components. In cloud environments, the attacker could target metadata services like AWS, Azure, or GCP to obtain credentials and configuration details, which could lead to full compromise of the infrastructure. Even though the SSRF is semi-blind and the attacker may not see the full response, the ability to interact with internal services can enable enumeration, data exfiltration, and in some cases remote code execution if internal APIs expose dangerous functionality.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pycti"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.8.16"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/OpenCTI-Platform/opencti/security/advisories/GHSA-ffm6-vvph-g5f5"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-21887"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OpenCTI-Platform/opencti"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pycti/PYSEC-2026-118.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-22T17:01:22Z",
"nvd_published_at" : "2026-03-12T17:16:36Z"
}
}