CVE-2026-40043 Pachno 1.0.6 Authentication Bypass via runSwitchUser()

High 7.1 Published Updated

Authenticated low-privilege users can escalate privileges to administrator by manipulating the original_username cookie in Pachno.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-40043?

CVE-2026-40043 is a high-severity authentication bypass vulnerability in pancho Pachno, published on 13 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-639

Which versions are affected by CVE-2026-40043?

How do I fix CVE-2026-40043?

No fix has been published for CVE-2026-40043 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-40043 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40043 exists.

Sources

Also known as GHSA-h2hg-847v-g327.

Is CVE-2026-40043 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free