9.3critical
openssl_encrypt before 1.4.0 Schema Validation Bypass
- Severity
- 9.3critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-425g-fjhq-5h92PYSEC-2026-3755
Description
openssl_encrypt versions before 1.4.0 silently skip JSON schema validation when the jsonschema library is not installed, allowing malformed metadata to be accepted. Attackers can remove the jsonschema package or supply unknown metadata format versions to bypass all schema checks and process malicious data.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jahlives openssl_encrypt | before 1.4.0 Not affected: 1.4.0 | CVE List, NVD |
| openssl-encrypt (PyPI) | before 1.4.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Classification
What each source says
CVE List
openssl_encrypt versions before 1.4.0 silently skip JSON schema validation when the jsonschema library is not installed, allowing malformed metadata to be accepted. Attackers can remove the jsonschema package or supply unknown metadata format versions to bypass all schema checks and process malicious data.
GitHub Advisory Database
Summary
In openssl_encrypt/modules/json_validator.py at lines 234-238, when the jsonschema library is not installed, all schema validation is silently skipped with only a print warning.
Affected Code
if not JSONSCHEMA_AVAILABLE:
print(f"Warning: Cannot validate against schema '{schema_name}' - jsonschema library not available")
return
Additionally, unknown metadata format versions (line 288-293) bypass schema validation entirely, and all schemas use additionalProperties: true allowing arbitrary extra fields.
Impact
An attacker who can influence the Python environment (remove the jsonschema package) or craft metadata with an unknown version number can bypass all schema checks. Malformed or malicious metadata will be accepted without validation.
Recommended Fix
- Make
jsonschemaa required dependency, not optional - Or fail-closed: refuse to process metadata when validation cannot be performed
- Reject unknown format versions instead of silently skipping validation
- Consider using
additionalProperties: falsein schemas
Fix
Fixed in commit 6e7f938 on branch releases/1.4.x — validate_against_schema() now raises JSONValidationError when jsonschema is unavailable instead of silently passing; changed print() warning to logging.warning().
References
| https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-425g-fjhq-5h92 | advisory, mitigation, vendor-advisory, web | |
| https://www.vulncheck.com/advisories/openssl-encrypt-before-schema-validation-bypass | advisory, third-party-advisory | |
| https://github.com/jahlives/openssl_encrypt/commit/6e7f938dcb7928faf5fd12bb5559f6dae2944124 | web | |
| https://github.com/jahlives/openssl_encrypt | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74875 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-425g-fjhq-5h92 changed 2026-09-02 | CC-BY-4.0 |
| NVD | CVE-2026-74875 changed 2026-10-08 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3755 changed 2026-09-02 | CC-BY-4.0 |