CVE-2026-48598 (GCVE-0-2026-48598)
Vulnerability from cvelistv5 – Published: 2026-06-02 19:08 – Updated: 2026-06-03 15:00
VLAI
Title
CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection
Summary
Improper Encoding or Escaping of Output vulnerability in elixir-tesla tesla allows multipart part header injection via unescaped Content-Disposition parameter values.
Tesla.Multipart.part_headers_for_disposition/1 interpolates each disposition parameter as #{k}="#{v}" with no validation of CR (\r), LF (\n), or double-quote characters. The values come verbatim from the caller via Tesla.Multipart.add_field/4 (the name parameter), Tesla.Multipart.add_file/3, and Tesla.Multipart.add_file_content/4 (both the filename parameter and other disposition opts). A " in the value closes the quoted parameter early; a \r\n ends the Content-Disposition header line and starts a new part header (such as a forged Content-Type), or, after a second \r\n, ends the entire part header block and prepends bytes to the part body. The default-filename path in add_file/3 derives the filename via Path.basename/1, which does not strip CR or LF, so any application forwarding a partially-attacker-controlled file path inherits the same issue.
This issue affects tesla: from 0.8.0 before 1.18.3.
Severity
SSVC
Exploitation: poc
Automatable: no
Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
- CWE-116 - Improper Encoding or Escaping of Output
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/elixir-tesla/tesla/security/ad… | vendor-advisoryrelated |
| https://cna.erlef.org/cves/CVE-2026-48598.html | related |
| https://osv.dev/vulnerability/EEF-CVE-2026-48598 | related |
| https://github.com/elixir-tesla/tesla/commit/bb1a… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| elixir-tesla | tesla |
Affected:
0.8.0 , < 1.18.3
(semver)
cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:* |
|
| elixir-tesla | tesla |
Affected:
6ebfdb9abe9c6f119408045b933d82462decd351 , < bb1a2c3da2775924d96e3db8e315dcc4d5d2246e
(git)
cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:* |
Credits
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-48598",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-06-03T14:58:39.064613Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-06-03T15:00:21.959Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/elixir-tesla/tesla/security/advisories/GHSA-28jh-g32x-v9v4"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.Tesla.Multipart\u0027"
],
"packageName": "tesla",
"packageURL": "pkg:hex/tesla",
"product": "tesla",
"programFiles": [
"lib/tesla/multipart.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Tesla.Multipart\u0027:part_headers_for_disposition/1"
},
{
"name": "\u0027Elixir.Tesla.Multipart\u0027:add_field/4"
},
{
"name": "\u0027Elixir.Tesla.Multipart\u0027:add_file/3"
},
{
"name": "\u0027Elixir.Tesla.Multipart\u0027:add_file_content/4"
}
],
"repo": "https://github.com/elixir-tesla/tesla",
"vendor": "elixir-tesla",
"versions": [
{
"lessThan": "1.18.3",
"status": "affected",
"version": "0.8.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.Tesla.Multipart\u0027"
],
"packageName": "elixir-tesla/tesla",
"packageURL": "pkg:github/elixir-tesla/tesla",
"product": "tesla",
"programFiles": [
"lib/tesla/multipart.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Tesla.Multipart\u0027:part_headers_for_disposition/1"
},
{
"name": "\u0027Elixir.Tesla.Multipart\u0027:add_field/4"
},
{
"name": "\u0027Elixir.Tesla.Multipart\u0027:add_file/3"
},
{
"name": "\u0027Elixir.Tesla.Multipart\u0027:add_file_content/4"
}
],
"repo": "https://github.com/elixir-tesla/tesla.git",
"vendor": "elixir-tesla",
"versions": [
{
"lessThan": "bb1a2c3da2775924d96e3db8e315dcc4d5d2246e",
"status": "affected",
"version": "6ebfdb9abe9c6f119408045b933d82462decd351",
"versionType": "git"
}
]
}
],
"configurations": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "The application must pass untrusted input into a disposition parameter of \u003ctt\u003eTesla.Multipart.add_field/4\u003c/tt\u003e, \u003ctt\u003eTesla.Multipart.add_file/3\u003c/tt\u003e, or \u003ctt\u003eTesla.Multipart.add_file_content/4\u003c/tt\u003e."
}
],
"value": "The application must pass untrusted input into a disposition parameter of Tesla.Multipart.add_field/4, Tesla.Multipart.add_file/3, or Tesla.Multipart.add_file_content/4."
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*",
"versionEndExcluding": "1.18.3",
"versionStartIncluding": "0.8.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Peter Ullrich"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Yordis Prieto"
},
{
"lang": "en",
"type": "analyst",
"value": "Jonatan M\u00e4nnchen"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "Improper Encoding or Escaping of Output vulnerability in elixir-tesla tesla allows multipart part header injection via unescaped \u003ctt\u003eContent-Disposition\u003c/tt\u003e parameter values.\u003cp\u003e\u003ctt\u003eTesla.Multipart.part_headers_for_disposition/1\u003c/tt\u003e interpolates each disposition parameter as \u003ctt\u003e#{k}=\"#{v}\"\u003c/tt\u003e with no validation of CR (\u003ctt\u003e\\r\u003c/tt\u003e), LF (\u003ctt\u003e\\n\u003c/tt\u003e), or double-quote characters. The values come verbatim from the caller via \u003ctt\u003eTesla.Multipart.add_field/4\u003c/tt\u003e (the \u003ctt\u003ename\u003c/tt\u003e parameter), \u003ctt\u003eTesla.Multipart.add_file/3\u003c/tt\u003e, and \u003ctt\u003eTesla.Multipart.add_file_content/4\u003c/tt\u003e (both the \u003ctt\u003efilename\u003c/tt\u003e parameter and other disposition opts). A \u003ctt\u003e\"\u003c/tt\u003e in the value closes the quoted parameter early; a \u003ctt\u003e\\r\\n\u003c/tt\u003e ends the \u003ctt\u003eContent-Disposition\u003c/tt\u003e header line and starts a new part header (such as a forged \u003ctt\u003eContent-Type\u003c/tt\u003e), or, after a second \u003ctt\u003e\\r\\n\u003c/tt\u003e, ends the entire part header block and prepends bytes to the part body. The default-filename path in \u003ctt\u003eadd_file/3\u003c/tt\u003e derives the filename via \u003ctt\u003ePath.basename/1\u003c/tt\u003e, which does not strip CR or LF, so any application forwarding a partially-attacker-controlled file path inherits the same issue.\u003c/p\u003e\u003cp\u003eThis issue affects tesla: from 0.8.0 before 1.18.3.\u003c/p\u003e"
}
],
"value": "Improper Encoding or Escaping of Output vulnerability in elixir-tesla tesla allows multipart part header injection via unescaped Content-Disposition parameter values.\n\nTesla.Multipart.part_headers_for_disposition/1 interpolates each disposition parameter as #{k}=\"#{v}\" with no validation of CR (\\r), LF (\\n), or double-quote characters. The values come verbatim from the caller via Tesla.Multipart.add_field/4 (the name parameter), Tesla.Multipart.add_file/3, and Tesla.Multipart.add_file_content/4 (both the filename parameter and other disposition opts). A \" in the value closes the quoted parameter early; a \\r\\n ends the Content-Disposition header line and starts a new part header (such as a forged Content-Type), or, after a second \\r\\n, ends the entire part header block and prepends bytes to the part body. The default-filename path in add_file/3 derives the filename via Path.basename/1, which does not strip CR or LF, so any application forwarding a partially-attacker-controlled file path inherits the same issue.\n\nThis issue affects tesla: from 0.8.0 before 1.18.3."
}
],
"impacts": [
{
"capecId": "CAPEC-105",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-105 HTTP Request Splitting"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "LOCAL",
"baseScore": 2.1,
"baseSeverity": "LOW",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "LOW",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-116",
"description": "CWE-116 Improper Encoding or Escaping of Output",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-06-02T19:12:18.502Z",
"orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"shortName": "EEF"
},
"references": [
{
"tags": [
"vendor-advisory",
"related"
],
"url": "https://github.com/elixir-tesla/tesla/security/advisories/GHSA-28jh-g32x-v9v4"
},
{
"tags": [
"related"
],
"url": "https://cna.erlef.org/cves/CVE-2026-48598.html"
},
{
"tags": [
"related"
],
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-48598"
},
{
"tags": [
"patch"
],
"url": "https://github.com/elixir-tesla/tesla/commit/bb1a2c3da2775924d96e3db8e315dcc4d5d2246e"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "Validate disposition parameter values before passing them to \u003ctt\u003eTesla.Multipart.add_field/4\u003c/tt\u003e, \u003ctt\u003eTesla.Multipart.add_file/3\u003c/tt\u003e, or \u003ctt\u003eTesla.Multipart.add_file_content/4\u003c/tt\u003e, rejecting any value that contains \u003ctt\u003e\\r\u003c/tt\u003e, \u003ctt\u003e\\n\u003c/tt\u003e, or \u003ctt\u003e\"\u003c/tt\u003e."
}
],
"value": "Validate disposition parameter values before passing them to Tesla.Multipart.add_field/4, Tesla.Multipart.add_file/3, or Tesla.Multipart.add_file_content/4, rejecting any value that contains \\r, \\n, or \"."
}
],
"x_generator": {
"engine": "cvelib 1.8.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"assignerShortName": "EEF",
"cveId": "CVE-2026-48598",
"datePublished": "2026-06-02T19:08:19.921Z",
"dateReserved": "2026-05-22T09:36:56.834Z",
"dateUpdated": "2026-06-03T15:00:21.959Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-48598",
"date": "2026-06-03",
"epss": "0.00014",
"percentile": "0.02633"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-48598\",\"sourceIdentifier\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"published\":\"2026-06-02T20:16:38.847\",\"lastModified\":\"2026-06-03T16:16:30.993\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Improper Encoding or Escaping of Output vulnerability in elixir-tesla tesla allows multipart part header injection via unescaped Content-Disposition parameter values.\\n\\nTesla.Multipart.part_headers_for_disposition/1 interpolates each disposition parameter as #{k}=\\\"#{v}\\\" with no validation of CR (\\\\r), LF (\\\\n), or double-quote characters. The values come verbatim from the caller via Tesla.Multipart.add_field/4 (the name parameter), Tesla.Multipart.add_file/3, and Tesla.Multipart.add_file_content/4 (both the filename parameter and other disposition opts). A \\\" in the value closes the quoted parameter early; a \\\\r\\\\n ends the Content-Disposition header line and starts a new part header (such as a forged Content-Type), or, after a second \\\\r\\\\n, ends the entire part header block and prepends bytes to the part body. The default-filename path in add_file/3 derives the filename via Path.basename/1, which does not strip CR or LF, so any application forwarding a partially-attacker-controlled file path inherits the same issue.\\n\\nThis issue affects tesla: from 0.8.0 before 1.18.3.\"}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X\",\"baseScore\":2.1,\"baseSeverity\":\"LOW\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"PRESENT\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"vulnConfidentialityImpact\":\"NONE\",\"vulnIntegrityImpact\":\"NONE\",\"vulnAvailabilityImpact\":\"NONE\",\"subConfidentialityImpact\":\"NONE\",\"subIntegrityImpact\":\"LOW\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}]},\"weaknesses\":[{\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-116\"}]}],\"references\":[{\"url\":\"https://cna.erlef.org/cves/CVE-2026-48598.html\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\"},{\"url\":\"https://github.com/elixir-tesla/tesla/commit/bb1a2c3da2775924d96e3db8e315dcc4d5d2246e\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\"},{\"url\":\"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-28jh-g32x-v9v4\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\"},{\"url\":\"https://osv.dev/vulnerability/EEF-CVE-2026-48598\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\"},{\"url\":\"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-28jh-g32x-v9v4\",\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\"}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-48598\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-06-03T14:58:39.064613Z\"}}}], \"references\": [{\"url\": \"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-28jh-g32x-v9v4\", \"tags\": [\"exploit\"]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-06-03T14:56:59.609Z\"}}], \"cna\": {\"title\": \"CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Peter Ullrich\"}, {\"lang\": \"en\", \"type\": \"remediation developer\", \"value\": \"Yordis Prieto\"}, {\"lang\": \"en\", \"type\": \"analyst\", \"value\": \"Jonatan M\\u00e4nnchen\"}], \"impacts\": [{\"capecId\": \"CAPEC-105\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-105 HTTP Request Splitting\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"version\": \"4.0\", \"baseScore\": 2.1, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"LOW\", \"vectorString\": \"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"PRESENT\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"LOW\", \"vulnIntegrityImpact\": \"NONE\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"NONE\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"NONE\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*\"], \"repo\": \"https://github.com/elixir-tesla/tesla\", \"vendor\": \"elixir-tesla\", \"modules\": [\"\u0027Elixir.Tesla.Multipart\u0027\"], \"product\": \"tesla\", \"versions\": [{\"status\": \"affected\", \"version\": \"0.8.0\", \"lessThan\": \"1.18.3\", \"versionType\": \"semver\"}], \"packageURL\": \"pkg:hex/tesla\", \"packageName\": \"tesla\", \"programFiles\": [\"lib/tesla/multipart.ex\"], \"collectionURL\": \"https://repo.hex.pm\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"\u0027Elixir.Tesla.Multipart\u0027:part_headers_for_disposition/1\"}, {\"name\": \"\u0027Elixir.Tesla.Multipart\u0027:add_field/4\"}, {\"name\": \"\u0027Elixir.Tesla.Multipart\u0027:add_file/3\"}, {\"name\": \"\u0027Elixir.Tesla.Multipart\u0027:add_file_content/4\"}]}, {\"cpes\": [\"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*\"], \"repo\": \"https://github.com/elixir-tesla/tesla.git\", \"vendor\": \"elixir-tesla\", \"modules\": [\"\u0027Elixir.Tesla.Multipart\u0027\"], \"product\": \"tesla\", \"versions\": [{\"status\": \"affected\", \"version\": \"6ebfdb9abe9c6f119408045b933d82462decd351\", \"lessThan\": \"bb1a2c3da2775924d96e3db8e315dcc4d5d2246e\", \"versionType\": \"git\"}], \"packageURL\": \"pkg:github/elixir-tesla/tesla\", \"packageName\": \"elixir-tesla/tesla\", \"programFiles\": [\"lib/tesla/multipart.ex\"], \"collectionURL\": \"https://github.com\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"\u0027Elixir.Tesla.Multipart\u0027:part_headers_for_disposition/1\"}, {\"name\": \"\u0027Elixir.Tesla.Multipart\u0027:add_field/4\"}, {\"name\": \"\u0027Elixir.Tesla.Multipart\u0027:add_file/3\"}, {\"name\": \"\u0027Elixir.Tesla.Multipart\u0027:add_file_content/4\"}]}], \"references\": [{\"url\": \"https://github.com/elixir-tesla/tesla/security/advisories/GHSA-28jh-g32x-v9v4\", \"tags\": [\"vendor-advisory\", \"related\"]}, {\"url\": \"https://cna.erlef.org/cves/CVE-2026-48598.html\", \"tags\": [\"related\"]}, {\"url\": \"https://osv.dev/vulnerability/EEF-CVE-2026-48598\", \"tags\": [\"related\"]}, {\"url\": \"https://github.com/elixir-tesla/tesla/commit/bb1a2c3da2775924d96e3db8e315dcc4d5d2246e\", \"tags\": [\"patch\"]}], \"workarounds\": [{\"lang\": \"en\", \"value\": \"Validate disposition parameter values before passing them to Tesla.Multipart.add_field/4, Tesla.Multipart.add_file/3, or Tesla.Multipart.add_file_content/4, rejecting any value that contains \\\\r, \\\\n, or \\\".\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"Validate disposition parameter values before passing them to \u003ctt\u003eTesla.Multipart.add_field/4\u003c/tt\u003e, \u003ctt\u003eTesla.Multipart.add_file/3\u003c/tt\u003e, or \u003ctt\u003eTesla.Multipart.add_file_content/4\u003c/tt\u003e, rejecting any value that contains \u003ctt\u003e\\\\r\u003c/tt\u003e, \u003ctt\u003e\\\\n\u003c/tt\u003e, or \u003ctt\u003e\\\"\u003c/tt\u003e.\", \"base64\": false}]}], \"x_generator\": {\"engine\": \"cvelib 1.8.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"Improper Encoding or Escaping of Output vulnerability in elixir-tesla tesla allows multipart part header injection via unescaped Content-Disposition parameter values.\\n\\nTesla.Multipart.part_headers_for_disposition/1 interpolates each disposition parameter as #{k}=\\\"#{v}\\\" with no validation of CR (\\\\r), LF (\\\\n), or double-quote characters. The values come verbatim from the caller via Tesla.Multipart.add_field/4 (the name parameter), Tesla.Multipart.add_file/3, and Tesla.Multipart.add_file_content/4 (both the filename parameter and other disposition opts). A \\\" in the value closes the quoted parameter early; a \\\\r\\\\n ends the Content-Disposition header line and starts a new part header (such as a forged Content-Type), or, after a second \\\\r\\\\n, ends the entire part header block and prepends bytes to the part body. The default-filename path in add_file/3 derives the filename via Path.basename/1, which does not strip CR or LF, so any application forwarding a partially-attacker-controlled file path inherits the same issue.\\n\\nThis issue affects tesla: from 0.8.0 before 1.18.3.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"Improper Encoding or Escaping of Output vulnerability in elixir-tesla tesla allows multipart part header injection via unescaped \u003ctt\u003eContent-Disposition\u003c/tt\u003e parameter values.\u003cp\u003e\u003ctt\u003eTesla.Multipart.part_headers_for_disposition/1\u003c/tt\u003e interpolates each disposition parameter as \u003ctt\u003e#{k}=\\\"#{v}\\\"\u003c/tt\u003e with no validation of CR (\u003ctt\u003e\\\\r\u003c/tt\u003e), LF (\u003ctt\u003e\\\\n\u003c/tt\u003e), or double-quote characters. The values come verbatim from the caller via \u003ctt\u003eTesla.Multipart.add_field/4\u003c/tt\u003e (the \u003ctt\u003ename\u003c/tt\u003e parameter), \u003ctt\u003eTesla.Multipart.add_file/3\u003c/tt\u003e, and \u003ctt\u003eTesla.Multipart.add_file_content/4\u003c/tt\u003e (both the \u003ctt\u003efilename\u003c/tt\u003e parameter and other disposition opts). A \u003ctt\u003e\\\"\u003c/tt\u003e in the value closes the quoted parameter early; a \u003ctt\u003e\\\\r\\\\n\u003c/tt\u003e ends the \u003ctt\u003eContent-Disposition\u003c/tt\u003e header line and starts a new part header (such as a forged \u003ctt\u003eContent-Type\u003c/tt\u003e), or, after a second \u003ctt\u003e\\\\r\\\\n\u003c/tt\u003e, ends the entire part header block and prepends bytes to the part body. The default-filename path in \u003ctt\u003eadd_file/3\u003c/tt\u003e derives the filename via \u003ctt\u003ePath.basename/1\u003c/tt\u003e, which does not strip CR or LF, so any application forwarding a partially-attacker-controlled file path inherits the same issue.\u003c/p\u003e\u003cp\u003eThis issue affects tesla: from 0.8.0 before 1.18.3.\u003c/p\u003e\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-116\", \"description\": \"CWE-116 Improper Encoding or Escaping of Output\"}]}], \"configurations\": [{\"lang\": \"en\", \"value\": \"The application must pass untrusted input into a disposition parameter of Tesla.Multipart.add_field/4, Tesla.Multipart.add_file/3, or Tesla.Multipart.add_file_content/4.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"The application must pass untrusted input into a disposition parameter of \u003ctt\u003eTesla.Multipart.add_field/4\u003c/tt\u003e, \u003ctt\u003eTesla.Multipart.add_file/3\u003c/tt\u003e, or \u003ctt\u003eTesla.Multipart.add_file_content/4\u003c/tt\u003e.\", \"base64\": false}]}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"1.18.3\", \"versionStartIncluding\": \"0.8.0\"}], \"operator\": \"OR\"}], \"operator\": \"AND\"}], \"providerMetadata\": {\"orgId\": \"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\", \"shortName\": \"EEF\", \"dateUpdated\": \"2026-06-02T19:12:18.502Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-48598\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-06-03T15:00:21.959Z\", \"dateReserved\": \"2026-05-22T09:36:56.834Z\", \"assignerOrgId\": \"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\", \"datePublished\": \"2026-06-02T19:08:19.921Z\", \"assignerShortName\": \"EEF\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…