SecurityContext

CVE-2026-40043: Pachno - Authentication Bypass

  • Cve: CVE-2026-40043
  • Name: Pachno - Authentication Bypass
  • Description: Pachno 1.0.6 contains an authentication bypass vulnerability in the runSwitchUser() action that allows authenticated low-privilege users to escalate privileges by manipulating the original_username cookie. Attackers can set the client-controlled original_username cookie to any value and request a switch to user ID 1 to obtain session tokens or password hashes belonging to administrator accounts.
  • Impact: Authenticated low-privilege users can escalate privileges to administrator, gaining access to sensitive session tokens or password hashes.
  • Remediation: Update to the latest version that fixes this vulnerability.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: privilege_escalation, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated as a low-privilege user
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00391
  • Epss percentile: 0.33668
  • Assignee: [email protected]
  • Published at: 2026-04-13T19:16:52Z
  • Age in days: 225
  • Modified at: 2026-10-26T22:10:00Z
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40043
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-639Authorization Bypass Through User-Controlled Key

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://www.vulncheck.com/advisories/pachno-authentication-bypass-via-runswitchuser
https://www.zeroscience.mk/en/vulnerabilities/ZSL-2026-5985.php
https://www.zeroscience.mk/#/advisories/ZSL-2026-5985

Products

ProductAffectedPlatform boundSourcesUrl
pachno:pachno= 1.0.6nocna/v1/products/pachno/pachno

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts