Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-a3b5-pwyh-yugv
Summary
Craft CMS Race condition in Token Service potentially allows for token usage greater than the token limit
A Time-of-Check-Time-of-Use (TOCTOU) race condition exists in Craft CMS’s token validation service for tokens that explicitly set a limited usage. The `getTokenRoute()` method reads a token’s usage count, checks if it’s within limits, then updates the database in separate non-atomic operations. By sending concurrent requests, an attacker can use a single-use impersonation token multiple times before the database update completes.

To make this work, an attacker needs to obtain a valid user account impersonation URL with a non-expired token via some other means and exploit a race condition while bypassing any rate-limiting rules in place.

For this to be a privilege escalation, the impersonation URL must include a token for a user account with more permissions than the current user.
Aliases
0
alias CVE-2026-27128
1
alias GHSA-6fx5-5cw5-4897
Fixed_packages
0
url pkg:composer/craftcms/cms@4.16.19
purl pkg:composer/craftcms/cms@4.16.19
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@4.16.19
1
url pkg:composer/craftcms/cms@5.8.23
purl pkg:composer/craftcms/cms@5.8.23
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@5.8.23
Affected_packages
0
url pkg:composer/craftcms/cms@4.5.0-RC1
purl pkg:composer/craftcms/cms@4.5.0-RC1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-39ct-cg7w-kyb6
1
vulnerability VCID-a3b5-pwyh-yugv
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@4.5.0-RC1
1
url pkg:composer/craftcms/cms@5.0.0-RC1
purl pkg:composer/craftcms/cms@5.0.0-RC1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-1468-4fdx-kbfr
1
vulnerability VCID-1mb5-28xp-ckd2
2
vulnerability VCID-39ct-cg7w-kyb6
3
vulnerability VCID-4wkr-jx1w-77hn
4
vulnerability VCID-5mnd-qvaq-k3am
5
vulnerability VCID-5q5g-jrxm-eyhe
6
vulnerability VCID-7y4f-ef7t-47eb
7
vulnerability VCID-8u2j-17a4-q7eh
8
vulnerability VCID-9enr-b6zd-mbh8
9
vulnerability VCID-a3b5-pwyh-yugv
10
vulnerability VCID-akrv-yqnf-1kg8
11
vulnerability VCID-azr5-12f8-hfbm
12
vulnerability VCID-cys8-jnmu-77ec
13
vulnerability VCID-esma-wxje-eqh3
14
vulnerability VCID-fpea-e48p-kfbn
15
vulnerability VCID-hkp9-3hzv-quhk
16
vulnerability VCID-hyct-5gap-7kdu
17
vulnerability VCID-jeyh-3jxd-z3g6
18
vulnerability VCID-jxz8-g6fq-dubw
19
vulnerability VCID-kbrc-85av-nfcn
20
vulnerability VCID-m5rf-usae-yfb7
21
vulnerability VCID-pgm4-svq8-tfc5
22
vulnerability VCID-ppet-ruae-1kav
23
vulnerability VCID-qywv-vf4r-8bh9
24
vulnerability VCID-rb7c-3nkc-gkeg
25
vulnerability VCID-twuy-wzb7-k7g3
26
vulnerability VCID-vasz-rnn1-67ev
27
vulnerability VCID-vvhc-rnpr-ubey
28
vulnerability VCID-w9yn-1573-hyau
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@5.0.0-RC1
References
0
reference_url https://github.com/craftcms/cms
reference_id
reference_type
scores
url https://github.com/craftcms/cms
1
reference_url https://github.com/craftcms/cms/commit/3e4afe18279951c024c64896aa2b93cda6d95fdf
reference_id
reference_type
scores
url https://github.com/craftcms/cms/commit/3e4afe18279951c024c64896aa2b93cda6d95fdf
2
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-27128
reference_id CVE-2026-27128
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2026-27128
3
reference_url https://github.com/advisories/GHSA-6fx5-5cw5-4897
reference_id GHSA-6fx5-5cw5-4897
reference_type
scores
url https://github.com/advisories/GHSA-6fx5-5cw5-4897
4
reference_url https://github.com/craftcms/cms/security/advisories/GHSA-6fx5-5cw5-4897
reference_id GHSA-6fx5-5cw5-4897
reference_type
scores
url https://github.com/craftcms/cms/security/advisories/GHSA-6fx5-5cw5-4897
Weaknesses
0
cwe_id 367
name Time-of-check Time-of-use (TOCTOU) Race Condition
description The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state.
1
cwe_id 937
name OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013.
2
cwe_id 1035
name OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017.
Exploits
Severity_range_scorenull
Exploitabilitynull
Weighted_severitynull
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-a3b5-pwyh-yugv