Advisory summary. Rapid7 Velociraptor versions <= v0.77.3 failed to enforce runtime ACL checks across multiple VQL plugins and functions, allowing authenticated low-privileged users (analyst and investigator holding NOTEBOOK_EDITOR and AnyQuery, or api holding AnyQuery) to bypass FILESYSTEM_WRITE, FILESYSTEM_READ, EXECVE, and MACHINE_STATE boundaries. The vulnerability is tracked as CVE-2026-130319 and fixed in v0.77.4 (released 23 November 2026).
- Product: Rapid7 Velociraptor (DFIR and endpoint visibility platform)
- Affected / Patched:
<= v0.77.3/ Fixed inv0.77.4(PR #5153andPR #5157) - Classification: CWE-863 (Incorrect Authorization) · CVSS 3.1: 8.8 (High) (
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) - Credit: Listed first among credited researchers in Rapid7's advisory (Alpaslan Fatih Sözer, reported via GitHub Private Vulnerability Reporting)
Velociraptor is Rapid7's widely deployed open-source DFIR and endpoint monitoring platform. During incident response engagements, security teams collect memory images, logs, and host artifacts from endpoints into a central Velociraptor server and analyze them with VQL (Velociraptor Query Language) notebooks. Following the earlier CVE-2026-85737 fix for missing permission enforcement in the sql() plugin, I audited other VQL entry points against the official v0.77.3 binary in an isolated local Linux lab, verified missing runtime CheckAccess calls in yarax(), cache(), and memoize(), and reported the issue to Rapid7 on 14 November 2026.
Root cause
In Velociraptor's role model (acls/roles.go), analyst and investigator hold NOTEBOOK_EDITOR and AnyQuery, while api holds AnyQuery without NotebookEditor. All three roles are explicitly denied FILESYSTEM_READ, FILESYSTEM_WRITE, and EXECVE. While Rapid7's advisory references the investigator role, live verification against v0.77.3 confirmed that the exact same bypass applied to --role=analyst.
The architectural gap was that VQLMetadata().Permissions(...) declarations inside plugin Info() methods were read only for documentation generation (bin/vql.go) and static artifact verification (services/launcher/verifier.go). The VQL runtime did not enforce those metadata declarations automatically, and instead expected each plugin to invoke vql_subsystem.CheckAccess(scope, ...) inside its own Call() implementation.
Three reported entry points omitted that runtime check:
cache()(vql/tools/lru/cache.go): DeclaredFILESYSTEM_WRITEinInfo()metadata, yetCall()created an on-disk SQLite file at the caller-suppliedfilenamepath without callingCheckAccess.memoize()(vql/tools/lru/memoize.go): Omitted both permission metadata and runtimeCheckAccess(scope, acls.FILESYSTEM_WRITE), writing SQLite files (-shm,-wal) to arbitrary writable server paths.yarax()(vql/common/yarax.go, Linux and Windows builds): DeclaredFILESYSTEM_READandEXECVEinInfo()(explicitly noting thatEXECVEis needed because the YARA-X library is loaded dynamically), yetCall()never checked either permission before passing caller-controlleddll_pathdirectly toyara_x.LoadYaraXDLL(dlopen/LoadLibraryA). Combined withNOTEBOOK_EDITORattachment uploads (UploadNotebookAttachment) andfile_store()path resolution, this opened a path to arbitrary native library loading and code execution on the DFIR server.
Local verification (v0.77.3, linux/amd64)
Running an --role=analyst user against the official v0.77.3 binary in an offline lab confirmed the missing runtime checks directly against properly enforced controls:
# Controls: stat() and execve() properly enforce ACLs
velociraptor --runas analyst_user query "SELECT * FROM stat(filename='/etc/hosts')"
# -> PermissionDenied: Permission denied: [FILESYSTEM_READ]
velociraptor --runas analyst_user query "SELECT * FROM execve(argv=['id'])"
# -> PermissionDenied: Permission denied: [EXECVE]
# Findings: cache() and memoize() bypass FILESYSTEM_WRITE and create SQLite files
velociraptor --runas analyst_user query \
"SELECT cache(func={SELECT 'cached_row' AS V FROM scope()}, key='k1', filename='/tmp/vr-acl-verify/out/cache_write.sqlite') AS C FROM scope()"
# yarax() bypasses EXECVE and reaches dlopen() directly
velociraptor --runas analyst_user query \
"SELECT * FROM yarax(rules='rule r { condition: true }', files=['/etc/hosts'], dll_path='x=>\"/nonexistent/audit_path\"')"
# -> [ERROR] yarax: /nonexistent/audit_path: cannot open shared object file: No such file or directory
Scope and testing boundaries
- Preconditions: An authenticated server account holding a low-privileged VQL-capable role (
analyst,investigator, orapi) was required, making this primarily relevant to multi-tenant MSSP setups, role-separated teams, or environments with a compromised analyst or API account. Foryarax(), dynamic library loading occurred if a valid YARA-X shared library had not already been loaded in the server process. - Testing boundary: Verification stopped at proving unauthorized entry into
dlopen()using a nonexistent path, and no malicious shared object or DLL was compiled or executed. All testing took place exclusively on a local, offline lab instance.
Vendor fix (v0.77.4)
Rapid7 validated the report the following morning and fixed the entire bug class within nine days:
- Runtime ACL enforcement (
PR #5153, 18 November 2026): Added runtime permission checks across the reportedyarax,cache, andmemoizepaths, alongside parallel researcher reports coveringprocess_tracker(FILESYSTEM_WRITE),cat(FILESYSTEM_READ), filestore gRPC authorization, and org membership checks. - Static regression prevention (
PR #5157, 20 November 2026): Added aperm_checkstatic analysis command to catch VQL plugins that omit required permission checks automatically, closingnetstat(MACHINE_STATE) in the same pass before shipping v0.77.4 on 23 November 2026.
Legal and evidentiary impact (DFIR chain of custody)
From a litigation and regulatory standpoint, patching the server closes the engineering ticket while raising practical evidentiary questions for past or ongoing incidents. A DFIR server aggregates raw memory captures, endpoint logs, and breach timelines that later back criminal complaints, civil contract or cyber insurance disputes, and regulatory filings.
Under international data protection frameworks such as GDPR Art. 28 and Art. 32, appropriate technical and organizational security obligations apply not only to production databases, but also to incident-response infrastructure holding personal data collected during an investigation, including external MSSP or DFIR processors acting on the controller's behalf. In litigation or insurance recovery, a vulnerability on the collection host does not by itself invalidate collected artifacts without concrete signs of tampering. Yet if integrity hashes were not sealed outside the DFIR server, opposing counsel has a clear set of questions: which server version collected the artifact, when and where were SHA-256 hashes anchored, and was role isolation actually functioning on that host?
For example, under Turkish law, where I practice, private-sector digital records enter civil proceedings as electronic documents subject to free judicial evaluation (HMK Art. 198-199), and enter criminal proceedings subject to courtroom challenge and lawful-acquisition scrutiny (CMK Art. 217). Under Turkish Data Protection Law (KVKK Art. 12/1 and Art. 12/2), technical security duties extend jointly to external incident-response processors handling personal data, and actual unauthorized access on the DFIR server can trigger an independent breach notification duty under KVKK Art. 12/5.
Remediation and operational checklist
- Upgrade all Velociraptor servers to v0.77.4 or later.
- Review recent Notebook VQL histories for
analystandinvestigatoraccounts referencingyarax,cache,memoize,process_tracker,cat, ornetstat. - Seal SHA-256 integrity hashes on immutable (WORM) storage independent of the DFIR server as soon as collection completes.
- Record tool versions, accessing roles, and UTC timestamps inside incident response reports from hour one, and run a pre-defined transfer workflow so chain-of-custody records are preserved without slowing containment.
Disclosure timeline
- 14 November 2026: Verified locally and submitted via GitHub Private Vulnerability Reporting (
GHSA-r9xr-mxmh-gmxr). - 15 November 2026: Accepted by Rapid7 / Velocidex maintainer with CVSS 3.1 8.8 High.
- 18 November 2026: Runtime permission enforcement merged (
PR #5153). - 20 November 2026:
perm_checkstatic analyzer andnetstatfix merged (PR #5157). - 23 November 2026: Velociraptor
v0.77.4released. - 27 November 2026: Rapid7 published the official
CVE-2026-130319advisory. - 28 November 2026: GitHub advisory closed with link to the public advisory.
- 2 December 2026:
CVE-2026-130319published on cve.org.
For the full Turkish technical and legal analysis, see the Turkish write-up. For related advisories in this series, see CVE-2026-121780 (Flying Images), CVE-2026-124410 (wpLingua), CVE-2026-48201 (Fast Velocity Minify), CVE-2026-111835 (Swish for WooCommerce), and CVE-2026-110900 (BookIt), or my overview of IT law, cybersecurity and KVKK compliance in Türkiye.
For incident response legal review, DFIR evidence audits, or GDPR/KVKK filings: contact@avfatihsozer.com
References
Published 1 December 2026 after coordinated disclosure and patch release (v0.77.4).