Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-47064 Overview
Computer Vision Annotation Tool (CVAT) contains a cross-site request forgery (CSRF) weakness that allows attackers to invoke arbitrary API calls on behalf of authenticated users. An attacker who lures a logged-in CVAT user to a malicious URL can issue API requests using that user's session. This grants temporary access to any data and functionality the victim is authorized to use. The flaw is tracked under [CWE-79] and affects CVAT versions prior to 2.19.0. The CVAT maintainers published a fix in the 2.19.0 release.
Critical Impact
Attackers can hijack authenticated CVAT sessions through crafted URLs and perform any API action available to the victim, including accessing annotation projects and labeled datasets.
Affected Products
- CVAT (Computer Vision Annotation Tool) versions prior to 2.19.0
- Self-hosted CVAT deployments exposing the web interface to users
- CVAT instances where users maintain active authenticated sessions
Discovery Timeline
- 2024-09-30 - CVE-2024-47064 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-47064
Vulnerability Analysis
The vulnerability allows an attacker to piggyback on an authenticated CVAT user's browser session. When the victim visits a maliciously-constructed URL, the attacker's page can trigger API calls that execute with the victim's credentials. CVAT's authenticated endpoints perform the requested actions without adequate verification that the request originated from a legitimate CVAT page. The attacker gains the same read and write access the victim has across projects, tasks, and jobs. This includes the ability to read annotations, modify labels, and interact with job metadata through the engine API.
Root Cause
The root cause is insufficient request origin verification on authenticated API endpoints. The patched commit 0bf45fd5de08a652dffbfb517318a64c2fdbc5cf modifies cvat/apps/engine/views.py and adjusts error handling that previously reflected user-controlled identifiers into response bodies. The underlying issue, classified as [CWE-79], relates to how user-supplied content was processed and returned in the context of authenticated sessions, enabling cross-site attack vectors against the API surface.
Attack Vector
Exploitation requires user interaction. The attacker crafts a URL or HTML page that, when loaded by an authenticated CVAT user, triggers API calls to the vulnerable CVAT instance. Because the browser automatically supplies the victim's authentication context, the server processes the forged requests as legitimate user actions. The scope impact extends beyond the vulnerable component, affecting any data accessible to the victim's role.
job = self._get_rq_job_by_id(pk)
if not job:
- return HttpResponseNotFound(f"There is no request with specified id: {pk}")
+ return HttpResponseNotFound("There is no request with specified id")
self.check_object_permissions(request, job)
Source: GitHub Commit 0bf45fd5 — The patch removes reflection of the user-supplied pk identifier from the 404 response, closing a vector that allowed attacker-controlled content to be echoed back in an authenticated context.
Detection Methods for CVE-2024-47064
Indicators of Compromise
- Unexpected API requests to CVAT engine endpoints originating from external referrers
- HTTP 404 responses from /api/requests/ endpoints containing reflected identifier strings in logs
- Authenticated user sessions performing bulk read or modification operations outside normal working patterns
- Access to annotation projects or jobs from IP addresses not associated with the user's typical activity
Detection Strategies
- Review CVAT access logs for API calls that correlate with external HTTP referer headers pointing to untrusted domains
- Monitor for unusual API call volume tied to individual user sessions, particularly across multiple projects
- Alert on sequences of authenticated requests immediately following navigation from external domains
Monitoring Recommendations
- Enable detailed request logging on the CVAT reverse proxy and capture Referer and Origin headers
- Forward CVAT application and web server logs to a centralized SIEM for correlation and retention
- Baseline normal user API activity and alert on deviations in request types, endpoints, or data volumes accessed
How to Mitigate CVE-2024-47064
Immediate Actions Required
- Upgrade CVAT to version 2.19.0 or later, which contains the fix in commit 0bf45fd5de08a652dffbfb517318a64c2fdbc5cf
- Instruct active CVAT users to log out and clear browser sessions after upgrading
- Review audit logs for anomalous API activity dating back to deployment of affected versions
- Restrict CVAT access to trusted network segments or VPN connections where feasible
Patch Information
The fix is included in CVAT 2.19.0. Refer to the GitHub Security Advisory GHSA-hp6c-f34j-qjj7 for the official vendor disclosure and the GitHub Commit Overview for the code-level change.
Workarounds
- Place CVAT behind an authenticating reverse proxy that enforces strict Origin and Referer header validation
- Deploy a web application firewall rule to reject cross-origin requests to CVAT API endpoints
- Advise users to avoid browsing untrusted sites while logged into CVAT and to use separate browser profiles for the annotation tool
# Upgrade CVAT using Docker Compose
git fetch --tags
git checkout v2.19.0
docker compose down
docker compose pull
docker compose up -d
# Verify the installed version
docker exec -it cvat_server python -c "import cvat; print(cvat.__version__)"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

