# Critical SQL injection flaw reported in DIGIT, the e-government platform used in ten countries

CVE-2026-136706 affects user and access control services in India's DIGIT platform, used by every Indian state and nine other nations. A fix has been released as source code.

Source: https://junglewise.ai/news/critical-sql-injection-flaw-reported-in-digit-the-e-government-platform-used-in  
Byline: Junglewise News Desk, https://junglewise.ai/news  
Topic: Vulnerabilities and exploitation  
Published: 28 November 2026  
Reading time: 6 min

This is a developing story.

![A grand sandstone government building in New Delhi with a central dome under a stormy sky](https://images.unsplash.com/photo-1760872646618-13594fc00567?ixid=M3w0NDU4NjF8MHwxfHNlYXJjaHwxfHxnb3Zlcm5tZW50JTIwbWluaXN0cnklMjBidWlsZGluZyUyMEluZGlhfGVufDF8MHx8fDE3OTU4ODczMDd8MA&ixlib=rb-4.1.0&w=1600&q=80&fm=jpg&fit=crop)

Picture: Photo by [Zoshua Colah](https://unsplash.com/@zoshuacolah?utm_source=junglewise&utm_medium=referral) on [Unsplash](https://unsplash.com/?utm_source=junglewise&utm_medium=referral)

A critical SQL injection vulnerability has been reported in DIGIT (Digital Infrastructure for Governance Impact and Transformation), the open source e-government platform built in India and deployed by governments serving more than two billion people. According to [The Register](https://theregister.com/security/2026/11/27/free-e-government-platform-that-serves-two-billion-people-in-ten-countries-has-critical-sql-injection-bug/5312449), the flaw is tracked as CVE-2026-136706 and carries a severity rating of 9.3.

The Indian Computer Emergency Response Team (CERT-IN) said an unauthenticated remote attacker could exploit the flaw by sending specially crafted input through the affected API endpoint, per The Register's account of the advisory. Successful exploitation, CERT-IN said, could let an attacker run arbitrary SQL queries, with unauthorised disclosure, modification or deletion of database information as the possible result. The databases in question hold citizen records: DIGIT modules handle birth and death certificates, revenue collection and the operation of water treatment plants, among other things.

DIGIT is a modular suite providing shared services such as authentication and payment collection, with third-party developers able to build additional modules on top. Every Indian state and union territory government uses it, along with more than 20,000 local government entities. India also gives the platform away to other countries as a "digital public good" under its digital public infrastructure policy, and nine other nations have implemented it to some degree: Mozambique, Liberia, Senegal, Nigeria, Burundi, Ethiopia, Indonesia, Jamaica and Sri Lanka. Counting India's 1.4 billion people, Indonesia's 280 million and Nigeria's 240 million, the user base of the affected software comfortably exceeds two billion.

Most local government users reach DIGIT as software as a service through a national or state implementation, which means the patching burden sits with a smaller number of large operators. Even so, The Register reports that over 1,000 separate deployments are live across cities and other entities, and organisations running their own instances are the ones that have to act.

eGov India, the body that oversees development of DIGIT, has released source code for an update that fixes the vulnerability. The flaw has not been reported as exploited by anyone so far, and none of the available reporting describes attacks in the wild.

## What to do now

1. Identify whether your organisation runs its own DIGIT deployment or consumes it as a service from a state or national implementation. If it is the latter, the operator of that implementation owns the patching, and confirming their status is the practical step available to you.
2. For self-managed deployments, update the affected components. The [GitHub security advisory](https://github.com/egovernments/Digit-Core/security/advisories/GHSA-qjf8-6cfm-9r76) lists egov-accesscontrol 2.9.3 as affected and fixed in 2.9.4, with patched versions for egov-user noted in the same record. eGov India has published the source code for the fix.
3. Check how your gateway exposes the `_search` endpoints. The advisory notes that the egov-user controller applies no authentication of its own, so whether an unauthenticated outsider can reach it depends entirely on each deployment's gateway configuration. Restricting external access to `/user/v1/_search` and the access control `_search` endpoint is a useful interim measure.
4. Do not rely on field encryption alone. Where MDMS SecurityPolicy encrypts the search name field, the name-based injection vector may be neutralised, but the advisory states the `sort` parameter vector and the boolean/error oracle are unaffected by that protection.
5. If you maintain custom modules, audit your own query builder classes for the same pattern: values concatenated into SQL strings rather than bound as parameters.

## Technical details

CERT-IN describes the issue as "improper neutralization of user supplied input while constructing SQL queries and execution in the affected User and Access Control Service components", as reported by The Register. [SC Media](https://scworld.com/brief/critical-sql-injection-flaw-discovered-in-indias-digit-platform) carries the same 9.3 rating and the same description of unauthenticated remote exploitation.

A GitHub security advisory published on 19 November 2026, GHSA-qjf8-6cfm-9r76, sets out the underlying research. It describes a SQL injection vulnerability class in DIGIT LTS Core services egov-user and egov-accesscontrol, in their respective `_search` functions. The advisory is marked Critical but records "No known CVE" in its own entry, and the report text cites CWE-89; the mapping between that record and CVE-2026-136706 is not stated by any source available here.

In egov-user's `UserTypeQueryBuilder`, a fuzzy-name search field is concatenated unbound into a SQL LIKE clause while neighbouring fields are correctly parameter-bound, and the `sort` parameter is concatenated into an ORDER BY clause with no column whitelist. The researcher verified the egov-user finding by building from source at commit `6077039` and running it against a PostgreSQL database created from the project's own migration DDL, without contacting any live deployment. A crafted `name` value returned all three synthetic canary citizen records over HTTP 200, including one belonging to a different tenant, where the benign equivalent search returned nothing. The report states that "the SQL TRACE shows the raw request text inside the executed statement".

A cross-tenant extraction test using an injected predicate on `aadhaarnumber` returned another tenant's canary Aadhaar number, PAN, mobile number and email, demonstrating that tenantId isolation can be bypassed through injection. A blind boolean and error-based oracle was also demonstrated through the `sort` parameter, distinguishing an HTTP 400 division by zero error from an HTTP 200 depending on an injected conditional, and requiring no fuzzyLogic flag. The `/user/v1/_search` endpoint is affected by the same tautology-based injection with the same cross-tenant result.

A sibling issue in egov-accesscontrol's `ActionFinderQueryBuilder` inserts tenantId and roleCodes into SQL via `String.format` with no parameter binding, executed through `BaseRepository.run`. A tenantId value of `'x' OR '1'='1' -- ` would return all tenants' actions rather than one. The `_search` controller there has no `@PreAuthorize` or role guard, and tenantId is taken from the request body rather than derived from an authenticated principal. That second finding was confirmed by source-code tracing only, not executed against a live instance, and the same String.format pattern appears in other query builder classes in the module.

The researcher, credited as Syed Anas Mohiuddin of Cognivators LLC, reported the issue privately to the eGovernments Foundation following the project's SECURITY.md before public disclosure, proposed a 90-day embargo from acknowledgment, and had not contacted CERT-In at the time of the report. He also proposed a CVSS 3.1 score of roughly 7.1 where privileges are required, rising to 8.6 if unauthenticated access is possible, categorising the egov-user finding as High rather than Critical and deferring final scoring to eGovernments or CERT-In. That is a notable gap from the 9.3 now attached to the CVE, and none of the available reporting explains the difference. The report states that no password-hash exfiltration, no write primitive and no stacked-queries capability were demonstrated or claimed.

Recommended fixes in the advisory are parameter-binding the fuzzy-name query, whitelisting allowed sort columns, using named-parameter binding in egov-accesscontrol, auditing all QueryBuilder classes for similar concatenation, adding CI security linting rules and adding integration tests covering injection characters.

## Related articles

- [NFS2ROOT: 12-year-old Linux NFS server flaw hands attackers root](https://junglewise.ai/news/nfs2root-12-year-old-linux-nfs-server-flaw-hands-attackers-root)
- [4HTTP2SHELL: public exploit gives command execution on unpatched Cacti servers](https://junglewise.ai/news/4http2shell-public-exploit-gives-command-execution-on-unpatched-cacti-servers)
- [Drupal installer flaw under active attack, second patch released](https://junglewise.ai/news/drupal-installer-flaw-under-active-attack-second-patch-released)
- [Drupal installer flaw is being exploited to hijack sites, CISA orders fix](https://junglewise.ai/news/drupal-installer-flaw-is-being-exploited-to-hijack-sites-cisa-orders-fix)
