/

CVE-2026-129429

Severity:

HIGH RISK

(7.1)

Broken Authorization (CWE-862) in Frappe India Payroll

CVE-2026-129429

Received

Vulnerability type

Category:

Missing Authorization / Broken Access Control

CWE:

CWE-862

Impact:

Unauthorized payroll data disclosure and tax-regime modification

Severity:

HIGH RISK

(7.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Frappe India Payroll has a missing authorization check in tax-regime methods that may let authenticated, low-privileged users access other employees' payroll details. Depending on the method and record state, a user may also change the tax regime on a draft Salary Structure Assignment, potentially affecting tax withholding.

Affected context

The issue is described in Frappe India Payroll's tax_regime_selector.py, in the get_employee_details, compute_tax_comparison, and set_tax_regime methods. It may affect deployments where these methods accept employee or assignment identifiers without verifying that the authenticated user is authorized to access or modify the referenced records.

Exploit preconditions

  • Attack surface: The affected tax-regime methods in the payroll application
  • Required access: An authenticated account with low privileges
  • Trigger point: A request that supplies another employee's identifier or targets a draft Salary Structure Assignment
  • Why exploitation is possible: The methods may not enforce authorization against the specific employee or assignment being accessed or changed

Why this happens

The underlying issue is a missing authorization check, mapped to CWE-862: Missing Authorization. The application may accept a valid record identifier and perform a read or state change without confirming that the requesting user is permitted to access or modify that particular employee's payroll data.

Potential impact

  • Unauthorized users may view base pay and earning or deduction components.
  • Payroll information may be disclosed across employee access boundaries.
  • A user may change the tax regime on a draft assignment, which could affect tax withholding.
  • Unauthorized changes may create payroll processing errors or require corrective review.

General mitigation guidance

Defensive patterns for this class of issue include:

  • Enforcing server-side, object-level authorization for every read and write operation.
  • Deriving employee scope from the authenticated user's permissions rather than trusting supplied identifiers.
  • Applying secure-by-default access rules and denying access when authorization cannot be established.
  • Limiting mutation permissions to the roles and workflow states that require them.
  • Treating client-supplied record identifiers as untrusted and validating them against the user's authorized scope.
  • Running payroll services and background processes with only the privileges they need.

How teams detect issues like this

  • Review the affected methods and similar endpoints for record access based only on caller-supplied identifiers.
  • Use static analysis or code review checks to flag database reads and writes that lack nearby authorization enforcement.
  • Test access-control policies with accounts of different roles and employee scopes, including attempts to access another employee's records.
  • Add policy checks and audit logging for sensitive payroll reads and tax-regime changes.
  • Automated code review tools may help identify missing object-level authorization patterns.

Sources

SourceLink
github.comgithub.com/frappe/india-payroll
github.comgithub.com/frappe/india-payroll/blob/9c1fc91b34de8a55df58aa5f2dbabff95dedb4d1/india_payroll/india_payroll/page/tax_regime_selector/tax_regime_selector.py#L207-L215
github.comgithub.com/frappe/india-payroll/commit/78de736298a340ecb971826a5df10e7204773cef
github.comgithub.com/frappe/india-payroll/commit/bdb988f172663db4054f9c3fc23833f10c3b60b0
github.comgithub.com/frappe/india-payroll/releases/tag/v16.0.4
github.comgithub.com/frappe/india-payroll/security/advisories/GHSA-758f-34xj-xvcc
vulncheck.comvulncheck.com/advisories/frappe-india-payroll-before-16.0.4-missing-authorization-via-tax-regime-selector

Frequently asked

questions

The described vulnerability requires authentication; a low-privileged user may be able to exploit it if the affected methods do not verify access to the referenced employee or assignment.

The description identifies access to base pay and earning or deduction components, as well as changing the tax regime on draft Salary Structure Assignments.

Perform server-side object-level authorization for each requested employee record and assignment, and deny access or changes outside the caller's permitted scope.

Centralize authorization policies, avoid trusting client-supplied identifiers as proof of access, and test sensitive operations across roles and employee boundaries.

Find out what's already
exploitable in your codebase.