{"id":"CVE-2026-46388","state":"PUBLISHED","title":"osquery: Unprivileged users can temporarily read file carve contents","description":"osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. Prior to 5.23.1, an unprivileged attacker can read the contents of an osquery file carve until the carve completes and the temporary files are deleted because in-progress carve directories are not created with private permissions. If the carve targets a directory that the attacker controls, arbitrary file reads are possible, such as sensitive local files. This issue is fixed in version 5.23.1.","publishedAt":"2026-07-10T14:44:52.865Z","updatedAt":"2026-07-10T19:03:08.593Z","severity":{"score":4.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["osquery osquery"],"affected":[{"vendor":"osquery","product":"osquery","versions":[{"version":"< 5.23.1","status":"affected"}]}],"references":["https://github.com/osquery/osquery/security/advisories/GHSA-fg78-9q98-62hh","https://github.com/osquery/osquery/pull/8961","https://github.com/osquery/osquery/commit/6dabe9ded33bf9c6fc0f3e37ec364a1cbbd25d68","https://github.com/osquery/osquery/releases/tag/5.23.1"],"weaknesses":["CWE-279","CWE-378","CWE-379"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46388.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46388","state":"PUBLISHED","datePublished":"2026-07-10T14:44:52.865Z","dateUpdated":"2026-07-10T19:03:08.593Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-13T19:53:47.922Z"},"containers":{"cna":{"title":"osquery: Unprivileged users can temporarily read file carve contents","descriptions":[{"lang":"en","value":"osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. Prior to 5.23.1, an unprivileged attacker can read the contents of an osquery file carve until the carve completes and the temporary files are deleted because in-progress carve directories are not created with private permissions. If the carve targets a directory that the attacker controls, arbitrary file reads are possible, such as sensitive local files. This issue is fixed in version 5.23.1."}],"affected":[{"vendor":"osquery","product":"osquery","versions":[{"version":"< 5.23.1","status":"affected"}]}],"references":[{"url":"https://github.com/osquery/osquery/security/advisories/GHSA-fg78-9q98-62hh","name":"https://github.com/osquery/osquery/security/advisories/GHSA-fg78-9q98-62hh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/osquery/osquery/pull/8961","name":"https://github.com/osquery/osquery/pull/8961","tags":["x_refsource_MISC"]},{"url":"https://github.com/osquery/osquery/commit/6dabe9ded33bf9c6fc0f3e37ec364a1cbbd25d68","name":"https://github.com/osquery/osquery/commit/6dabe9ded33bf9c6fc0f3e37ec364a1cbbd25d68","tags":["x_refsource_MISC"]},{"url":"https://github.com/osquery/osquery/releases/tag/5.23.1","name":"https://github.com/osquery/osquery/releases/tag/5.23.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-279","lang":"en","description":"CWE-279: Incorrect Execution-Assigned Permissions","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-378","lang":"en","description":"CWE-378: Creation of Temporary File With Insecure Permissions","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-379","lang":"en","description":"CWE-379: Creation of Temporary File in Directory with Insecure Permissions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-10T14:44:52.865Z"},"source":{"advisory":"GHSA-fg78-9q98-62hh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-10T19:03:00.746306Z","id":"CVE-2026-46388","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-10T19:03:08.593Z"}}]}}}