Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104617 Overview
CVE-2026-104617 describes an information disclosure vulnerability caused by two invocations of the qrencode utility used to display QR codes for scanning. The command-line arguments passed to qrencode contain sensitive values such as $pin and $key. Because process arguments are exposed through the /proc filesystem, any low-privileged local user on the system can read these secrets by inspecting process metadata. The issue is tracked by SUSE and classified under CWE-522: Insufficiently Protected Credentials.
Critical Impact
Low-privileged local users can harvest PINs and cryptographic keys from /proc/<pid>/cmdline while a QR code is being generated, enabling credential theft without any special privileges.
Affected Products
- Software packaged by SUSE that invokes qrencode with sensitive data as command-line arguments
- Specific affected package versions are listed in the SUSE advisory
- Any downstream distribution reusing the vulnerable invocation pattern
Discovery Timeline
- 2026-10-15 - CVE-2026-104617 published to the National Vulnerability Database
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-104617
Vulnerability Analysis
The vulnerability stems from how the affected software constructs calls to qrencode. Secret material, specifically a $pin value and a $key value, is passed directly as command-line arguments to the external process. On Linux systems, process arguments are stored in /proc/<pid>/cmdline and are world-readable by default. Any authenticated user on the host can enumerate active processes and read their arguments while the QR code generation is in progress.
This exposure pattern is a well-known class of credential leak flaws categorized as CWE-522: Insufficiently Protected Credentials. Although the race window is bounded by the lifetime of the qrencode process, a persistent attacker can poll /proc to capture arguments reliably.
Root Cause
The root cause is passing confidential input through argv rather than through a protected channel such as standard input, an environment variable with restricted visibility, or a file with strict permissions. Linux kernel semantics expose argv values system-wide, so any secret placed there is leaked to all local users.
Attack Vector
Exploitation requires local access to the system as any unprivileged user. The attacker monitors /proc for new qrencode processes, for example by running a loop that reads /proc/*/cmdline or by using tools such as ps auxww. When the vulnerable code path triggers QR code generation, the PIN or key appears in the captured command line. No elevated privileges, user interaction, or network access is required. The vulnerability is scored under CWE-522 and is reachable only on multi-user hosts where the affected software runs.
See the SUSE Security Advisory CVE-2026-104617 and the SUSE Bug Report CVE-2026-104617 for technical details.
Detection Methods for CVE-2026-104617
Indicators of Compromise
- Unexpected processes reading /proc/*/cmdline from non-administrative accounts
- Shell loops or scripts polling /proc for qrencode invocations
- Shell history entries referencing ps auxww, pgrep qrencode, or direct reads of /proc/<pid>/cmdline
Detection Strategies
- Audit process execution with auditd rules on execve calls targeting qrencode and correlate against unexpected argument patterns
- Enable file access auditing on /proc/*/cmdline to flag non-root readers accessing arbitrary process metadata
- Review application logs for QR code generation events and correlate with concurrent local user sessions
Monitoring Recommendations
- Alert on repeated reads of /proc/<pid>/cmdline by low-privileged users over short time windows
- Monitor for execution of qrencode and record the invoking parent process for post-incident analysis
- Track creation of long-lived shell loops or background processes that scan the process table
How to Mitigate CVE-2026-104617
Immediate Actions Required
- Apply the vendor update referenced in the SUSE Security Advisory CVE-2026-104617 as soon as it is available
- Rotate any PINs, keys, or secrets that may have been passed through qrencode on multi-user systems
- Restrict interactive access to hosts that run the vulnerable code path to trusted administrators only
Patch Information
Refer to the SUSE Bug Report CVE-2026-104617 for the list of fixed package versions. The fix changes the invocation pattern so that secret values are no longer passed through command-line arguments. Upgrade to the fixed package version provided by your distribution.
Workarounds
- Mount /proc with the hidepid=2 option to prevent non-owners from reading other users' process metadata
- Pipe secret input to qrencode via standard input using the -r - or equivalent mode, rather than passing it as an argument
- Limit login access on affected hosts to a single trusted user until a patched package is deployed
# Mount /proc with hidepid=2 so users cannot see other users' process arguments
mount -o remount,hidepid=2,gid=proc /proc
# Persist the setting in /etc/fstab
# proc /proc proc defaults,hidepid=2,gid=proc 0 0
# Preferred invocation pattern: pass secrets via stdin, not argv
printf '%s' "$pin" | qrencode -o pin.png
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

