Explore

Rule Explorer

Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.

Public rules
2917
Downloads
3.6M
Verified
2917
Authors
2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
21 rules matched. Showing 21 loaded rules.
Publish rule
CVE-2026-39889: Ai Agent Tool Static File Op Sandbox Bypasscve-2026-39889-ai-agent-tool-static-file-op-sandbox-bypass

Agent tools exposing file operations via static methods lack instance-level context necessary for proper sandboxing (e.g., workspace bounds). This can allow an attacker to exploit agent prompts to perform arbitrary file reads/writes outside intended boundaries. Refactor tools to use instance methods and explicitly enforce workspace access controls.

by Provallyupdated 2026-06-12Apache-2.0
1.4K0 direct1.4K via packs
downloads
72quality
CVE-2026-34352: Shmget Permissive Creationcve-2026-34352-shmget-permissive-creation

A shared memory segment is created with overly permissive access rights (e.g., 0777, 0666). This allows local users to read or modify the shared memory segment, potentially leading to information disclosure, denial of service, or code execution. Use strict permissions such as 0600.

by Provallyupdated 2026-06-12Apache-2.0
1.3K0 direct1.3K via packs
downloads
65quality
CVE-2026-30793: Rust Fs Set Permissions World Writable 0o0777cve-2026-30793-rust-fs-set-permissions-world-writable-0o0777

Calling `fs::set_permissions` (or `<Path>.set_permissions`) with `Permissions::from_mode(0o0777)` / `from_mode(0o777)` grants world read/write/execute on the target path. When this path is a shared directory used to host IPC sockets, lock files, or other privileged endpoints (e.g. under `/tmp`), any local user can enumerate, replace, or pre-create entries an

by Provallyupdated 2026-06-12Apache-2.0
1.3K0 direct1.3K via packs
downloads
86quality
CVE-2026-8612: Cache Filecache Insecure Directory Umaskcve-2026-8612-cache-filecache-insecure-directory-umask

Cache::FileCache uses a default directory_umask of 000, creating world-writable cache directories. If deployed in a shared location like /tmp, this enables local cache poisoning and potentially arbitrary code execution via Storable deserialization (CWE-502, CWE-732). Explicitly pass `directory_umask => 077` (or similarly restrictive umask) to the constructor

by Provallyupdated 2026-06-23Apache-2.0
8690 direct869 via packs
downloads
72quality
CVE-2025-32445: Go Mergo Merge Container With Overridecve-2025-32445-go-mergo-merge-container-with-override

Using `mergo.Merge` with `mergo.WithOverride` to merge a user-supplied `Container` (typed as the upstream `k8s.io/api/core/v1.Container` or reachable through a CR `Spec.Template.Container`) into an operator-built container lets a low-privileged tenant override arbitrary container fields — image, command, args, securityContext (privileged/runAsUser/capabiliti

by Provallyupdated 2026-06-12Apache-2.0
1.4K0 direct1.4K via packs
downloads
81quality
CVE-2025-27591: Rs Unsafe World Writable Permissionscve-2025-27591-rs-unsafe-world-writable-permissions

Setting explicitly world-writable permissions (e.g., 0o777 or 0o666) on files or directories can result in local privilege escalation or unauthorized modification. If a privileged service writes to a world-writable directory, local attackers can use symlink attacks to overwrite critical system files. Rely on safe default permissions (umask) or restrict write

by Provallyupdated 2026-06-12Apache-2.0
1.3K0 direct1.3K via packs
downloads
72quality
CVE-2025-10725: Kubernetes Clusterrolebinding System Authenticatedcve-2025-10725-kubernetes-clusterrolebinding-system-authenticated

ClusterRoleBinding (or RoleBinding) grants permissions to the built-in group "system:authenticated" (or "system:unauthenticated"). This binds the referenced role to every authenticated principal in the cluster, effectively making the role's permissions universal. This pattern caused CVE-2025-10725 (opendatahub-operator) by binding a Job/Workload-create role

by Provallyupdated 2026-06-12Apache-2.0
1.4K0 direct1.4K via packs
downloads
79quality
CVE-2024-39934: Robocorp Rcc Shared Holotree Enabledcve-2024-39934-robocorp-rcc-shared-holotree-enabled

Enabling the shared holotree feature in Robocorp RCC (via `holotree shared --enable`) configures Python environments with overly permissive access rights. This enables unprivileged local users to edit the environment files, potentially leading to local privilege escalation if the environment is later accessed or executed by a higher-privileged user or system

by Provallyupdated 2026-06-12Apache-2.0
1.3K0 direct1.3K via packs
downloads
65quality
CVE-2024-33522: Insecure Suid Chmodcve-2024-33522-insecure-suid-chmod

Explicitly setting the SUID bit on installed binaries grants elevated privileges to any executing user. If the underlying binary can process user-controlled inputs, environment variables, or arguments, this setup trivially enables absolute Local Privilege Escalation (LPE) to the file owner's context (often root). Ensure this configuration is intentional, or

by Provallyupdated 2026-06-12Apache-2.0
1.4K0 direct1.4K via packs
downloads
69quality
CVE-2022-4968: Insecure Temporary World Readable Umaskcve-2022-4968-insecure-temporary-world-readable-umask

Temporarily assigning a permissive umask (e.g., 022) to force newly created files to be world-readable can leak sensitive information. For example, VPN private keys in network configuration files may become accessible to unprivileged local users (CVE-2022-4968). Additionally, umask() is process-wide and not thread-safe. Instead of toggling umask, explicitly

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
65quality
Misc SetSecurityDescriptorDaclgitlab-sast-c-misc-rule-setsecuritydescriptordacl

When `SetSecurityDescriptorDacl` is called with a null `pDacl` parameter and the `bDaclPresent` flag is `TRUE`, all access to the object is allowed. An attacker could set the object to Deny all, which would include even the Administrator user(s). Either call `SetSecurityDescriptorDacl` with bDaclPresent as `FALSE`, or supply a valid non-null `pDacl` paramete

by GitLab Security Productsupdated 2026-06-03GPL-2.0-only
1.3K0 direct1.3K via packs
downloads
86quality
Perm OverlyPermissiveFilePermissionInlinegitlab-sast-rules-lgpl-kotlin-perm-rule-overlypermissivefilepermissioninline

Overly permissive file permission

KotlinCWE-732
by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.3K0 direct1.3K via packs
downloads
92quality
File Permissions Filepermgitlab-sast-go-file-permissions-rule-fileperm

The application was found setting file permissions to overly permissive values. Consider using the following values if the application user is the only process to access the file: - 0400 - read only access to the file - 0200 - write only access to the file - 0600 - read/write access to the file Example creating a file with read/write permissions for the appl

by GitLab Security Productsupdated 2026-06-03Apache-2.0
1.3K0 direct1.3K via packs
downloads
92quality
File Permissions Mkdirgitlab-sast-go-file-permissions-rule-mkdir

The application was found setting directory permissions to overly permissive values. Consider using the following values if the application user is the only process to access files in the directory specified: - 0700 - read/write access to the files in the directory Another common value is `0750` which allows the application user read/write access and group u

by GitLab Security Productsupdated 2026-06-03Apache-2.0
1.3K0 direct1.3K via packs
downloads
92quality
File Permissions General Bad Permissiongitlab-sast-python-file-permissions-rule-general-bad-permission

The application was found setting file permissions to overly permissive values. Consider using the following values if the application user is the only process to access the file: - 0400 - read only access to the file - 0200 - write only access to the file - 0600 - read/write access to the file Example creating a file with read/write permissions for the appl

PythonCWE-732
by GitLab Security Productsupdated 2026-06-03MIT
1.3K0 direct1.3K via packs
downloads
86quality
Misc AddAccessAllowedAcegitlab-sast-c-misc-rule-addaccessallowedace

Make sure that you set inheritance by hand if you wish it to inherit.

by GitLab Security Productsupdated 2026-06-03GPL-2.0-only
1.3K0 direct1.3K via packs
downloads
86quality
Perm DangerousPermissionsgitlab-sast-java-perm-rule-dangerouspermissions

The application was found to permit the `RuntimePermission` of `createClassLoader`, `ReflectPermission` of `suppressAccessChecks`, or both. By granting the `RuntimePermission` of `createClassLoader`, a compromised application could instantiate their own class loaders and load arbitrary classes. By granting the `ReflectPermission` of `suppressAccessChecks` an

by GitLab Security Productsupdated 2026-06-03MIT
1.3K0 direct1.3K via packs
downloads
86quality
Perm OverlyPermissiveFilePermissionInlinegitlab-sast-scala-perm-rule-overlypermissivefilepermissioninline

Overly permissive file permission

ScalaCWE-732
by GitLab Security Productsupdated 2026-06-03MIT
1.3K0 direct1.3K via packs
downloads
86quality
Perm OverlyPermissiveFilePermissionInlinegitlab-sast-java-perm-rule-overlypermissivefilepermissioninline

The application was found setting file permissions to overly permissive values. Consider using the following values if the application user is the only process to access the file: - `r--` - read only access to the file - `w--` - write only access to the file - `rw-` - read/write access to the file Example setting read/write permissions for only the owner of

by GitLab Security Productsupdated 2026-06-03MIT
1.3K0 direct1.3K via packs
downloads
86quality
Perm OverlyPermissiveFilePermissionObjgitlab-sast-scala-perm-rule-overlypermissivefilepermissionobj

Overly permissive file permission

ScalaCWE-732
by GitLab Security Productsupdated 2026-06-03MIT
1.3K0 direct1.3K via packs
downloads
86quality
Access Umaskgitlab-sast-c-access-rule-umask

The umask function call sets the process's file mode creation mask. umask values determine what permissions a file should be created with and who can read or write to these files. Ensure that umask is given most restrictive possible setting depending on the context, usually 066 or 077, for more information please see: https://en.wikipedia.org/wiki/Umask#Mask

by GitLab Security Productsupdated 2026-06-03GPL-2.0-only
1.3K0 direct1.3K via packs
downloads
86quality
All matching rules loaded.