Skip to content

fix: upgrade basic-ftp to 5.2.0 (CVE-2026-27699)#11042

Open
orbisai0security wants to merge 2 commits into
shadcn-ui:mainfrom
orbisai0security:fix-cve-2026-27699-basic-ftp
Open

fix: upgrade basic-ftp to 5.2.0 (CVE-2026-27699)#11042
orbisai0security wants to merge 2 commits into
shadcn-ui:mainfrom
orbisai0security:fix-cve-2026-27699-basic-ftp

Conversation

@orbisai0security

Copy link
Copy Markdown

Summary

Upgrade basic-ftp from 5.0.5 to 5.2.0 to fix CVE-2026-27699.

Vulnerability

Field Value
ID CVE-2026-27699
Severity CRITICAL
Scanner trivy
Rule CVE-2026-27699
File pnpm-lock.yaml
Assessment Likely exploitable

Description: basic-ftp: basic-ftp: File overwrite due to path traversal

Evidence

Scanner confirmation: trivy rule CVE-2026-27699 flagged this pattern.

Production code: This file is in the production codebase, not test-only code.

Threat Model Context

This is a Node.js library - vulnerabilities affect downstream consumers who use this package.

Changes

  • package.json
  • pnpm-lock.yaml

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

Automated dependency upgrade by OrbisAI Security
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

@orbisai0security is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown
Contributor

Can you sign the commits please? See https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits. Thank you.

@socket-security

socket-security Bot commented Jun 28, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​basic-ftp@​5.3.110010010088100
Addednpm/​ai@​7.0.0-canary.1769910010099100

View full report

@socket-security

socket-security Bot commented Jun 28, 2026

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

5.2.0 introduced CRLF injection (GHSA-chqc-8p9q-pq6q, GHSA-6v7q-wjvx-w8wg)
and DoS vulnerabilities (GHSA-rp42-5vxx-qpwr, GHSA-rpmf-866q-6p89).
5.3.1 is the minimum version that patches all four.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant