Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with a low-privilege account
-
ExploitSubmit user-modify request adding is_superuser=true
-
ExecutionUserModifySerializer mass-assigns the attribute
-
ImpactGain full superuser administrative control
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V4 - API and Web Service Object attribute protection
|
| Exploitation Conditions | Requires a valid authenticated account on the django-vue-admin instance (PR:L). The attacker then submits a user-modification request handled by UserModifySerializer (server/apps/system/serializers.py) that includes the is_superuser field, which prior to the patch was absent from read_only_fields and therefore writable via mass assignment, elevating the account to Django superuser. Limiting factors: the attacker must already possess credentials and be able to reach the user-update endpoint; no user interaction and no non-default configuration are needed, so default deployments are affected once an attacker has any account. The only complete fix stated by the vendor is applying the patch (commit d0bc4cf / PR #108). |
| Impact | This is a CWE-915 mass-assignment / privilege-escalation flaw: the patch (commit d0bc4cf, PR #108) adds read_only_fields = ['is_superuser'] to UserModifySerializer, confirming that before the fix an authenticated user could set is_superuser via a user-modification request. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, impacts VC:L/VI:L/VA:L, score 5.3, E:P) signals network-reachable, low-complexity, authenticated (PR:L) exploitation with proof-of-concept maturity. There is a notable conflict between the vendor's Low/Low/Low impact rating and the mechanism: writing is_superuser yields full administrative takeover, which is better characterized as High integrity and confidentiality impact - treat the 5.3 as an under-estimate and see the independent vectors below. No EPSS score was provided and the CVE is NOT on CISA KEV, so there is no evidence of active exploitation; exploitation status is best described as a public PoC reference existing (GitHub issue #107) that is not verified as working exploit code. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a real but non-emergency authenticated privilege-escalation bug in a niche product. Net: meaningful post-authentication risk anywhere this project is deployed, but not a mass-exploitation-at-internet-scale priority on current signals. |
| Exploit ScenarioDerived | An attacker who already holds a valid low-privilege account on a django-vue-admin instance submits a user-profile/user-modification request through the vulnerable UserModifySerializer and includes an is_superuser=true field; because that attribute was writable (not read-only) before the patch, it is mass-assigned and the account is elevated to Django superuser, granting full administrative control. A public PoC reference exists as GitHub issue #107, but it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Privilege escalation in caoqianming django-vue-admin lets any authenticated account promote itself to Django superuser by supplying is_superuser in a user-modification request: UserModifySerializer in server/apps/system/serializers.py did not list is_superuser in read_only_fields, so the value was accepted as writable input and assigned onto the user object (CWE-915, mass assignment). Every build up to commit 849f9aafa552380c64eecc6059e357f6a1f5437a is affected, and exploitation needs only a valid login and network reach to the user-update endpoint - no user interaction and no non-default configuration. A public PoC reference exists (issue #107); it is not verified as working exploit code, and there is no confirmed active exploitation signal for this CVE.
RemediationAI
Vendor-released patch: commit d0bc4cf6232798d1f977eb4cad03738a968c4869, delivered through pull request https://github.com/caoqianming/django-vue-admin/pull/108, which adds read_only_fields = ['is_superuser'] to UserModifySerializer in server/apps/system/serializers.py; apply that commit or upgrade to a build containing it, since the vendor states the patch as the only complete fix, and verify after deployment that is_superuser is rejected or ignored in user-modification requests. Because the same pull request introduces mandatory SECRET_KEY and JWT_SIGNING_KEY entries in server/server/conf.py (two distinct random values generated with secrets.token_urlsafe(64), shared across all web and Celery processes), deployments adopting it must populate that file before startup or the service will refuse to launch, and upgrading from an older build requires rotating those keys rather than reusing the previously public values - the side effect being that existing Django sessions and JWT access/refresh tokens are invalidated and all users must log in again, with no per-token revocation provided. As a scoping control while patching, note that the flaw is only reachable by principals who already hold an account and can reach the user-modification endpoint, so limiting who can obtain accounts and exposing the system user API to trusted networks reduces exposure, but that does not remove the need for the serializer fix.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
django-vue-admin is a Python/Django + Django REST Framework backend paired with a Vue front end; the flaw lives in the DRF serialization layer. DRF ModelSerializer derives writable fields from the model and, during validation, assigns each accepted key onto the target instance, so any model attribute not explicitly excluded is attacker-controllable input. UserModifySerializer in server/apps/system/serializers.py omitted is_superuser from its read_only_fields list, which means the Django auth User flag that designates a superuser was part of the update surface; the vendor fix (commit d0bc4cf6232798d1f977eb4cad03738a968c4869, PR #108) adds read_only_fields = ['is_superuser'] to that serializer. This is CWE-915 (improperly controlled modification of dynamically-determined object attributes), the classic mass-assignment class, and the primary consequence here is privilege escalation rather than simple data tampering: a low-privileged account gains the highest authorization level in the Django backend, which in turn exposes every administrative view, user record and file object the superuser role can reach. The same upstream pull request also bundles unrelated hardening - mandatory SECRET_KEY and JWT_SIGNING_KEY configuration in server/server/conf.py, organisation-parent handling in the Vue client, and new file-permission and serializer regression tests - so the serializer change should not be assumed to be isolated from those deployment-behaviour changes.
Know when Django Vue Admin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
PR:L because a valid account is required; but mass-assigning is_superuser grants full admin, so C/I/A are High, higher than the vendor's Low impact ratings.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in caoqianming django-vue-admin up to 849f9aafa552380c64eecc6059e357f6a1f5437a. This affects the function UserModifySerializer of the file server/apps/system/serializers.py. The manipulation results in dynamically-determined object attributes. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks. The patch is identified as d0bc4cf6232798d1f977eb4cad03738a968c4869. It is advisable to implement a patch to correct this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-135752
GHSA-34h4-w5rf-r7gq
NVD
CVE.org
EPSS
VulDB
Exploit-DB