Skip to content

[Aikido] Fix 9 security issues in lodash, @actions/github, @octokit/core and 1 more - #23

Closed
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/aikido-security-update-packages-83009266-7gqu
Closed

[Aikido] Fix 9 security issues in lodash, @actions/github, @octokit/core and 1 more#23
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/aikido-security-update-packages-83009266-7gqu

Conversation

@aikido-autofix

@aikido-autofix aikido-autofix Bot commented Aug 7, 2026

Copy link
Copy Markdown

Upgrade lodash, @actions/github, @octokit/core, and uuid to fix critical RCE vulnerability in template compilation via options.imports injection and HIGH severity buffer overflow in UUID generation.

⚠️ Incomplete breaking changes analysis (3/5 analyzed)

⚠️ Breaking changes analysis not available for: @actions/github, @octokit/core

✅ No breaking changes from the package upgrades affect this codebase:

Lodash (4.17.21 => 4.18.1):

  • The codebase only uses _.filter() and _.merge() in src/gh.js

  • _.merge() is used to merge safe objects (config.githubContext containing only owner and repo properties with { runner_id: runner.id }), never with constructor or prototype keys

  • _.template(), _.unset(), and _.omit() are not used in the source code

@octokit packages:

  • The codebase doesn't directly depend on @octokit/endpoint, @octokit/plugin-paginate-rest, @octokit/request, or @octokit/request-error

  • These packages are transitive dependencies through @actions/github v4.0.0

  • The source code doesn't pass custom HTTP agents or custom request options to octokit methods

  • Node.js version compatibility is not an issue as GitHub Actions runners support the required versions

All breaking changes by upgrading lodash from version 4.17.21 to 4.18.1 (CHANGELOG)

Version Description
4.18.0
_.unset / _.omit now block constructor and prototype as non-terminal path keys unconditionally. Calls that previously returned true and deleted the property now return false and leave the target untouched.
4.18.0
_.template now throws "Invalid imports option passed into _.template" when imports keys contain forbidden identifier characters, which were previously allowed.
✅ 9 CVEs resolved by this upgrade, including 1 critical 🚨 CVE

This PR will resolve the following CVEs:

Issue Severity           Description
CVE-2026-4800
🚨 CRITICAL
[lodash] A vulnerability in _.template allows arbitrary code execution through untrusted key names in options.imports or prototype pollution, as validation was incomplete after a prior CVE fix. An attacker can inject malicious code that executes during template compilation.
CVE-2025-13465
MEDIUM
[lodash] A prototype pollution vulnerability in _.unset and _.omit functions allows attackers to delete methods from global prototypes via crafted paths. While this prevents property overwriting, it can cause denial of service by removing critical functionality.
CVE-2026-2950
MEDIUM
[lodash] Prototype pollution vulnerability in _.unset and _.omit functions allows attackers to bypass previous fixes using array-wrapped path segments, enabling deletion of properties from built-in prototypes. While this doesn't allow overwriting prototype behavior, it can cause denial of service or unexpected application behavior.
CVE-2026-41907
HIGH
[uuid] A buffer overflow vulnerability allows v3, v5, and v6 UUID functions to write beyond caller-provided buffer boundaries when given small buffers or large offsets, causing silent data corruption. This can lead to memory corruption and potential code execution or information disclosure.
AIKIDO-2026-10892
MEDIUM
[uuid] UUID functions v3(), v5(), and v6() can write past the end of a caller-provided buffer due to missing offset validation, enabling buffer overflow attacks. The fix adds bounds checks to prevent out-of-range writes.
AIKIDO-2025-10094
LOW
[@octokit/endpoint] Improper header parsing for GraphQL endpoints allows attackers to craft malicious inputs triggering ReDoS through excessive regex backtracking, causing denial of service and performance degradation.
CVE-2025-25288
LOW
[@octokit/plugin-paginate-rest] A ReDoS (Regular Expression Denial of Service) vulnerability exists in the pagination iterator when processing malicious link headers, allowing attackers to cause denial of service through specially crafted requests.
CVE-2025-25290
LOW
[@octokit/request] A ReDoS vulnerability in the link header parsing regex allows attackers to cause excessive CPU usage and service unavailability through specially crafted HTTP responses. The unbounded regex pattern is susceptible to catastrophic backtracking when processing malicious input.
CVE-2025-25289
LOW
[@octokit/request-error] A Regular Expression Denial of Service (ReDoS) vulnerability in HTTP header processing allows attackers to cause excessive resource consumption and DoS by sending malformed authorization headers with long space sequences. This can significantly degrade performance or crash services.

Comment thread package-lock.json

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 Open source vulnerabilities detected - critical severity
Aikido detected 4 vulnerabilities across 1 package, it includes 1 critical and 3 high vulnerabilities.

Details

Remediation:

  • undici — 4 CVEs (critical) — fixed in 6.24.0

Reply @AikidoSec ignore: [REASON] to ignore this issue.
More info

@aikido-autofix

Copy link
Copy Markdown
Author

Closed by Aikido: a new AutoFix has been created → #24

@aikido-autofix aikido-autofix Bot closed this Aug 10, 2026
@aikido-autofix
aikido-autofix Bot deleted the fix/aikido-security-update-packages-83009266-7gqu branch August 10, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants