mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #5887] [MERGED] chore: security patch for the dependency chain v2026.2.0 #5391
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#5391
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/5887
Author: @mirarifhasan
Created: 2/17/2026
Status: ✅ Merged
Merged: 2/19/2026
Merged by: @jamesgeorge007
Base:
next← Head:chore/security-fix-2026-2-0📝 Commits (4)
2fd6fdbchore: bump dependency versions and update lockfile164b469chore: verify Go tarball checksum in Dockerfile28a4ae2chore: pin form-data and harden Docker build03a6da3chore: bump non-major dependencies across packages📊 Changes
13 files changed (+2848 additions, -5375 deletions)
View changed files
📝
package.json(+8 -8)📝
packages/hoppscotch-agent/package.json(+11 -11)📝
packages/hoppscotch-backend/package.json(+27 -27)📝
packages/hoppscotch-cli/package.json(+7 -7)📝
packages/hoppscotch-common/package.json(+26 -26)📝
packages/hoppscotch-data/package.json(+1 -1)📝
packages/hoppscotch-desktop/package.json(+10 -10)📝
packages/hoppscotch-js-sandbox/package.json(+6 -6)📝
packages/hoppscotch-kernel/package.json(+3 -3)📝
packages/hoppscotch-selfhost-web/package.json(+17 -17)📝
packages/hoppscotch-sh-admin/package.json(+18 -18)📝
pnpm-lock.yaml(+2675 -5200)📝
prod.Dockerfile(+39 -41)📄 Description
Closes BE-716, FE-1131.
What's changed
This pull request primarily updates dependencies across the backend and Docker build files to address vulnerabilities and keep the stack current. The most significant changes include updating the Go and Node.js base images, bumping various package versions (including security-related ones), and restructuring the Dockerfile build stages for improved clarity and maintainability.
Dockerfile and build process improvements:
alpine:3.23.3and Go version to1.26.0(from1.25.6), addressing CVE-2025-47907, and restructured the Dockerfile to separate the Caddy build stage for better clarity and maintainability. [1] [2]alpine:3.23.3, upgraded NPM to11.10.0(from11.7.0), and PNPM to10.29.3(from10.28.1), and simplified the vulnerability patching steps forglob,tar, anddiffdependencies.Backend and dependency updates:
packages/hoppscotch-backend/package.json, including major/minor bumps for@nestjs/*,@prisma/*,nodemailer,pg,dotenv,posthog-node,prisma, and various dev dependencies, ensuring improved security and compatibility. [1] [2]package.jsonto bump versions forhono,lodash,nodemailer,qs, and adjust version ranges for some dependencies, keeping the stack up to date and secure.Notes to reviewers
Nil
Summary by cubic
Security patch for the dependency chain to reduce CVE exposure and modernize build/runtime images. Addresses BE-716 by upgrading Go/Node bases, adding checksum verification, pinning risky packages, and updating backend, frontend, and root dependencies.
Dependencies
Refactors
Written for commit
03a6da3828. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.