Sceawere
Vulnerability Detail
CVE-2026-82543UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
FileCodeBox Race Condition Vulnerability
Vulnerability Metadata
- Severity
- High
- Score / CVSS
- 7.3
- Creation Date
- 2h ago
- Vendor
- vastsa
- Product
- FileCodeBox
- Attack Type
- Race Condition
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Attack Complexity
- LOW
Narrative and Response
Description
A vulnerability was detected in vastsa FileCodeBox up to 2.3. This vulnerability affects the function update_file_usage of the file apps/base/views.py of the component Pickup Limit Handler. Performing a manipulation results in race condition. It is possible to initiate the attack remotely. The exploit is now public and may be used. Upgrading to version 2.5.0 is able to resolve this issue. The patch is named 8d7d856c62d73badd0797eb4daec8d2ff10a403a. Upgrading the affected component is recommended.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "7.3",
"pubDate": "2026-08-30T13:16:56.447Z",
"pubdate": "2026-08-30T13:16:56.447Z",
"executiveSummary": "A race condition vulnerability has been identified in FileCodeBox versions up to 2.3, specifically within the 'Pickup Limit Handler' component.\nThe vulnerability resides in the update_file_usage function of apps/base/views.py, which manages file usage counters.\nThis flaw allows a remote, unauthenticated attacker to manipulate file usage limits through concurrent request execution.\nThe primary risk implication is the potential for an attacker to bypass file access or download restrictions enforced by the application.\nSince the exploit is currently public, the risk of active exploitation is significant, necessitating immediate action.\nThe vulnerability is resolved in version 2.5.0 via patch 8d7d856c62d73badd0797eb4daec8d2ff10a403a.\nOrganizations using affected versions should prioritize upgrading the component to the patched release to mitigate unauthorized resource access or manipulation.",
"technicalDetails": "The vulnerability is a time-of-check to time-of-use (TOCTOU) race condition located within the update_file_usage function in apps/base/views.py.\nThis function is responsible for tracking and decrementing the 'Pickup Limit' (the number of times a file can be accessed) when a user retrieves a file from the server.\nThe root cause of the vulnerability is the lack of proper atomicity or synchronization primitives when checking the current limit and updating the record in the database.\nUnder standard operations, the application retrieves the current usage count, verifies it has not reached zero, and then proceeds to decrement the value and initiate the file transfer.\nBy sending a series of rapid, concurrent requests, an attacker can trigger multiple threads to execute the check logic simultaneously before any individual thread has finalized the update to the usage count.\nBecause the threads read the same initial state, they each validate the limit independently, allowing multiple downloads or accesses to proceed even when the intended configuration should have exhausted the allowance after the first successful request.\nThis behavior effectively allows an attacker to bypass the defined download limits or file access quotas enforced by the system.\nThe attack is remotely exploitable, requiring no specific credentials, as it leverages the logic flaw in the handling of public-facing file retrieval operations.\nThe post-exploitation impact includes the potential for unauthorized data exfiltration or mass downloading of restricted files by circumventing the 'Pickup Limit' security control.\nThe implementation of the fix, identified as commit 8d7d856c62d73badd0797eb4daec8d2ff10a403a in version 2.5.0, introduces the necessary locking or atomic database operations required to ensure that each usage update request is processed sequentially or safely, thereby closing the window of opportunity for the race condition to occur.\nThe vulnerability demonstrates the criticality of handling state changes in concurrent web environments, particularly where business logic relies on decrementing counter-based restrictions."
}