CVE-2026-40352
Full vulnerability record from the local CVENow database.
Description
FastGPT is an AI Agent building platform. In versions prior to 4.14.9.5, the password change endpoint is vulnerable to NoSQL injection. An authenticated attacker can bypass the "old password" verification by injecting MongoDB query operators. This allows an attacker who has gained a low-privileged session to change the password of their account (or others if combined with ID manipulation) without knowing the current one, leading to full account takeover and persistence. This issue has been fixed in version 4.14.9.5.
Severity
HIGH
CVSS score
8.8
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-04-17 22:16:32.940000
Last modified
2026-10-26 21:10:00.170000
View original CVE JSON
{
"id": "CVE-2026-40352",
"sourceIdentifier": "[email protected]",
"published": "2026-04-17T22:16:32.940",
"lastModified": "2026-10-26T21:10:00.170",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "FastGPT is an AI Agent building platform. In versions prior to 4.14.9.5, the password change endpoint is vulnerable to NoSQL injection. An authenticated attacker can bypass the \"old password\" verification by injecting MongoDB query operators. This allows an attacker who has gained a low-privileged session to change the password of their account (or others if combined with ID manipulation) without knowing the current one, leading to full account takeover and persistence. This issue has been fixed in version 4.14.9.5."
},
{
"lang": "es",
"value": "FastGPT es una plataforma de creación de agentes de IA. En versiones anteriores a la 4.14.9.5, el endpoint de cambio de contraseña es vulnerable a inyección NoSQL. Un atacante autenticado puede omitir la verificación de la ’contraseña antigua’ inyectando operadores de consulta de MongoDB. Esto permite a un atacante que ha obtenido una sesión con privilegios bajos cambiar la contraseña de su cuenta (o de otras si se combina con manipulación de ID) sin conocer la actual, lo que lleva a una toma de control total de la cuenta y persistencia. Este problema ha sido solucionado en la versión 4.14.9.5."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "labring",
"product": "FastGPT",
"versions": [
{
"version": "< 4.14.9.5",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.8,
"impactScore": 5.9
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-04-20T13:23:11.617519Z",
"id": "CVE-2026-40352",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-943"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:fastgpt:fastgpt:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.9.5",
"matchCriteriaId": "DE20269A-5497-4727-B3DD-3EDC1E1F234E"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/labring/FastGPT/commit/bd966d479fbe414d02679cf79f9eaaab3d100a2d",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/labring/FastGPT/releases/tag/v4.14.9.5",
"source": "[email protected]",
"tags": [
"Product",
"Release Notes"
]
},
{
"url": "https://github.com/labring/FastGPT/security/advisories/GHSA-422w-vrfj-72g6",
"source": "[email protected]",
"tags": [
"Exploit",
"Vendor Advisory"
]
}
]
}