SQL injection in ERPNext - #VU163028
Published: November 9, 2026
Vulnerability details
The vulnerability allows an authenticated user with no assigned roles to extract sensitive database information, including active session data that enables administrator account takeover.
The vulnerability exists due to missing validation after caller-supplied data overrides a validated request value in ERPNext's Selling and Buying modules. An authenticated user with no assigned roles can send a specially crafted request to inject SQL into the endpoint's database query without victim interaction.