{"id":"CVE-2026-120209","published":"2026-10-31T18:17:09.263","lastModified":"2026-10-31T18:17:09.263","description":"AJ-Report through 1.7.1 signs share tokens with a hard-coded JWT secret, allowing attackers to forge valid Share-Tokens offline. Attackers can mint a token with reportCode 'dataSet' to access the testTransform endpoint, which passes scripts to GroovyClassLoader for unauthenticated remote code execution.","cvssScore":9.8,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-321"],"vendors":[],"products":[],"references":[{"url":"https://gitee.com/belief-team/report","tags":[]},{"url":"https://gitee.com/belief-team/report/blob/V1.7.1/report-core/src/main/java/com/anjiplus/template/gaea/business/util/JwtUtil.java","tags":[]},{"url":"https://gitee.com/belief-team/report/issues/IKRV6T","tags":[]},{"url":"https://www.vulncheck.com/advisories/aj-report-through-1.7.1-authentication-bypass-leading-to-rce-via-share-token","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"AJ-Report uses a hardcoded JWT secret to sign share tokens, enabling attackers to forge valid tokens offline and bypass authentication. With a forged token containing reportCode 'dataSet', they can invoke the testTransform endpoint, which executes arbitrary Groovy scripts unauthenticated.","exploitability":"Trivial to exploit: attackers only need to generate a JWT with the known secret and target the testTransform endpoint; no user interaction or prior access is required.","blast_radius":"Full system compromise is likely — attackers gain unauthenticated remote code execution, enabling data theft, system takeover, or lateral movement within the network.","remediation":"Upgrade to AJ-Report version 1.7.2 or later, where the hardcoded JWT secret has been replaced with a securely generated, per-instance secret.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","jwt-forgery","auth-bypass","groovy","web"],"model":"garnet-coder","analyzedAt":"2026-11-01T09:47:24.554Z"}}