fix(security): bump nodemailer to 8.0.5 (4 CVEs)#41809
Conversation
Addresses CVE-2025-14874 (CVSS 7.5 High) which affects nodemailer <=7.0.10. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
WalkthroughBumps ChangesDependency Version Alignment
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
/build-deploy-preview skip-tests=true |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/25840349542. |
|
Deploy-Preview-URL: https://ce-41809.dp.appsmith.com |
Upgrades from 7.0.11 to 8.0.5 to also address CVE-2025-13033, GHSA-vvjj-xcjg (CVSS 4.9), and GHSA-c7w3-x9 (CVSS 2.3) which affect versions <=8.0.4. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
🧹 Nitpick comments (1)
app/client/packages/rts/package.json (1)
42-42: ⚡ Quick winConsider tightening
@types/nodemailerversion range.The runtime
nodemaileris pinned to8.0.5while@types/nodemaileruses^8.0.0, which allows minor updates (e.g., 8.1.x, 8.2.x). This could lead to type/runtime mismatches if the types package introduces definitions for APIs not present in 8.0.5.🔧 Suggested alignment
- "@types/nodemailer": "^8.0.0", + "@types/nodemailer": "~8.0.0",Or pin exactly to match the runtime version if available:
- "@types/nodemailer": "^8.0.0", + "@types/nodemailer": "8.0.5",🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@app/client/packages/rts/package.json` at line 42, The `@types/nodemailer` dev dependency is too loose ("@types/nodemailer": "^8.0.0") compared to the runtime nodemailer pinned at 8.0.5; update the package.json dependency entry for "@types/nodemailer" to align with the runtime (e.g., pin to "8.0.5" or at least "^8.0.5") and reinstall dependencies so the types package cannot introduce mismatched minor versions.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@app/client/packages/rts/package.json`:
- Line 42: The `@types/nodemailer` dev dependency is too loose
("@types/nodemailer": "^8.0.0") compared to the runtime nodemailer pinned at
8.0.5; update the package.json dependency entry for "@types/nodemailer" to align
with the runtime (e.g., pin to "8.0.5" or at least "^8.0.5") and reinstall
dependencies so the types package cannot introduce mismatched minor versions.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: cacff291-afae-43ce-82ac-459a40f30b74
⛔ Files ignored due to path filters (1)
app/client/yarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (1)
app/client/packages/rts/package.json
Summary
nodemailerfrom 6.9.9 to 8.0.5 to address all 4 known vulnerabilities:@types/nodemailerfrom ^6.4.17 to ^8.0.0Test plan
🤖 Generated with Claude Code
Warning
Tests have not run on the HEAD f6a3d3f yet
Thu, 14 May 2026 14:06:27 UTC
Summary by CodeRabbit