Skip to main content

Canarytokens CVE-2026-13140

| EUVDEUVD-2026-38736 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-06-24 ThinkstAppliedResearch
1.1
CVSS 4.0 · Vendor: ThinkstAppliedResearch
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to self-hosted Canarytokens instance
  2. Delivery
    Obtain target token's random identifier
  3. Exploit
    Inject XSS payload into AWS API key store field
  4. Execution
    Payload persisted server-side
  5. Persist
    Victim admin views affected token page
  6. Impact
    Malicious script executes in victim browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) the attacker holds at least low-privilege authenticated access (PR:L) to the self-hosted Canarytokens web interface - unauthenticated exploitation is not supported per CVSS PR:L; (2) the attacker possesses or can obtain the specific random identifier associated with the target AWS API key token - the CVE description explicitly states 'anonymous exploitation requires knowledge of a random identifier', making this a hard prerequisite; (3) a victim user with sufficient privileges must actively view the affected token management page (UI:A); (4) the deployment must be a self-hosted Docker or Git-based instance running commits in the vulnerable range. Exploitation is limited by the combination of required authentication, the random identifier knowledge gate, and mandatory user interaction - all three must be satisfied simultaneously. The attack does not apply to the Thinkst-managed hosted service.

Impact

Real-world risk is very low. The CVSS 4.0 score of 1.1 reflects a demanding exploitation profile: AV:N (network reachable) is partially offset by AC:H (high complexity), AT:P (specific prerequisite - knowledge of a random identifier), PR:L (authenticated attacker required), and UI:A (active victim interaction required). Impact metrics confirm limited blast radius: VC:L/VI:L (low confidentiality and integrity compromise of the vulnerable system only), with no availability impact and no subsequent-system impact (SC:N/SI:N/SA:N). The EPSS score was not provided in the input data; confidence in exploitation likelihood cannot be quantified from available signals. E:P in the CVSS 4.0 vector indicates proof-of-concept code exists, which modestly elevates practical risk above theoretical. This is not in the CISA KEV catalog. The random identifier prerequisite is a meaningful friction point that prevents opportunistic mass exploitation - the attack surface is constrained to actors with specific knowledge of target token identifiers. Overall, this issue presents a narrow, low-severity risk primarily relevant to organizations that self-host Canarytokens and whose token identifiers could be exposed to or guessed by adversaries.

Exploit ScenarioDerived

An attacker authenticated to a self-hosted Canarytokens instance and in possession of a target token's random identifier modifies the AWS API key store field with a crafted XSS payload, which is persisted to the backend. When a legitimate user (e.g., a security operator or admin) navigates to the token management page for that token, the stored script executes in their browser session, potentially exfiltrating session tokens or performing actions on behalf of the victim. The E:P flag in the CVSS 4.0 vector indicates proof-of-concept code for this attack path has been published.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

Stored XSS in the AWS API key store component of Thinkst Applied Research Canarytokens allows a low-privileged attacker who knows a token's random identifier to inject persistent malicious scripts that execute in a victim's browser when they view the affected token page. Exploitation is constrained by high attack complexity (AC:H), a prerequisite attack requirement (knowledge of a random identifier), low-privilege authentication, and active user interaction - reflected in an extremely low CVSS 4.0 base score of 1.1. No active exploitation is confirmed; however, the CVSS 4.0 vector includes E:P, indicating proof-of-concept exploit code exists.

RemediationAI

Update the self-hosted Docker deployment to image tag sha-f5aa5c4e or any later commit in the Thinkst canarytokens repository - this is the confirmed upstream fix per the vendor security advisory at https://github.com/thinkst/canarytokens/security/advisories/GHSA-23pf-xjp2-48q6. No specific workaround version was provided beyond the fix commit. If immediate upgrade is not feasible, operators can reduce exposure by restricting access to the Canarytokens web management interface to trusted internal networks or VPN only, eliminating the network-reachable attack surface. Additionally, auditing and rotating any AWS API key tokens whose identifiers may have been exposed to untrusted parties limits the attacker's ability to satisfy the random-identifier prerequisite. The trade-off of access restriction is that legitimate remote administrators would also require VPN access.

Affected VersionsENISA

canarytokens 4116b92cb <f5aa5c4e
canarytokens sha-4116b92cb <f5aa5c4e

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

Canarytokens is a deception/honeypot platform by Thinkst Applied Research that generates tracking tokens (including fake AWS API keys) to detect unauthorized access or credential use. The vulnerability resides in the web interface that exposes the AWS API key store - specifically, user-controlled input is persisted server-side without adequate sanitization and later rendered in the browser without proper output encoding, satisfying the classic CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) root cause for stored XSS. Affected deployments are identified via CPE cpe:2.3:a:thinkst_applied_research:canarytokens:*:*:*:*:*:*:*:* and are scoped to Docker images and Git commits between sha-4116b92cb (inclusive) and sha-f5aa5c4e (exclusive). The Docker-based deployment model means self-hosted instances are the affected population.

Know when Canarytokens 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

Vendor (ThinkstAppliedResearch) PRIMARY 1.1 LOW
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.4 MEDIUM

Requires low-privilege auth (PR:L), knowledge of a random identifier (AC:H), and victim page visit (UI:R); stored XSS crosses into victim browser scope (S:C) with limited confidentiality and integrity impact.

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (ThinkstAppliedResearch).

CVSS VectorVendor: ThinkstAppliedResearch

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Stored Cross-Site Scripting in the exposed AWS API key store of Thinkst Applied Research Canarytokens.

Anonymous exploitation requires knowledge of a random identifier.

This issue affects Canarytokens: from Docker tag sha-4116b92cb before sha-f5aa5c4e, from Git commit 4116b92cb before f5aa5c4e.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
specialized self-hosted honeypot tool for security teams only
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

6
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +6
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy