Security Vulnerability Report
中文
CVE-2025-70887 CVSS 8.8 HIGH

CVE-2025-70887

Published: 2026-03-25 19:16:28
Last Modified: 2026-04-01 13:59:08

Description

An issue in ralphje Signify before v.0.9.2 allows a remote attacker to escalate privileges via the signed_data.py and the context.py components

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:ralphje:signify:*:*:*:*:*:python:*:* - VULNERABLE
ralphje Signify < 0.9.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Conceptual PoC for CVE-2025-70887 # This script demonstrates the logic flow leading to privilege escalation. # Target: ralphje Signify < v0.9.2 import signify def exploit_signify(): # Simulate a low-privilege user context print("[+] Starting exploit in low-privilege context...") # Crafted malicious data intended to trigger the flaw in signed_data.py # The specific byte pattern would depend on the vulnerable parsing logic malicious_payload = b'MALICIOUS_SIGNATURE_DATA' try: # The vulnerability resides in how signed_data.py handles payload # and how context.py manages the privilege escalation signer = signify.Signify() # Normal usage would verify integrity, but the bug bypasses context checks print("[+] Sending payload to signed_data component...") result = signer.process_data(malicious_payload) # Check if privileges were escalated via context.py vulnerability if result.is_privileged: print("[!] Privilege Escalation Successful! Access granted to restricted resources.") return True else: print("[-] Exploit failed, privileges unchanged.") return False except Exception as e: print(f"[-] Error during execution: {e}") return False if __name__ == "__main__": exploit_signify()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-70887", "sourceIdentifier": "[email protected]", "published": "2026-03-25T19:16:28.130", "lastModified": "2026-04-01T13:59:07.700", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue in ralphje Signify before v.0.9.2 allows a remote attacker to escalate privileges via the signed_data.py and the context.py components"}, {"lang": "es", "value": "Un problema en ralphje Signify antes de la v.0.9.2 permite a un atacante remoto escalar privilegios a través de los componentes signed_data.py y context.py"}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-269"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ralphje:signify:*:*:*:*:*:python:*:*", "versionEndExcluding": "0.9.2", "matchCriteriaId": "2709D8CE-57FF-434F-81BE-D5F6C26A4AD5"}]}]}], "references": [{"url": "https://github.com/mtrojnar/osslsigncode/issues/475", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "https://github.com/mtrojnar/osslsigncode/pull/477", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "https://github.com/mtrojnar/osslsigncode/releases/tag/2.11", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "https://github.com/ralphje/signify/commit/64f21c0cc06cea0536370686ca3ba7a01e4adaa8", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/ralphje/signify/issues/60", "source": "[email protected]", "tags": ["Issue Tracking"]}]}}