Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-3592

A symlink following vulnerability was found in Samba, where a user can create a symbolic link that will make 'smbd' escape the configured share path. This flaw allows a remote user with access to the exported part of the file system under a share via SMB1 unix extensions or NFS to create symlinks to files outside the 'smbd' configured share path and gain access to another restricted server's filesystem.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-3592
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 03:17 UTC · Revision 1

Source evidence

CVE-2022-3592

core-osv · Original source

Published 12 Jan 2023, 00:00 UTC

A symlink following vulnerability was found in Samba, where a user can create a symbolic link that will make 'smbd' escape the configured share path. This flaw allows a remote user with access to the exported part of the file system under a share via SMB1 unix extensions or NFS to create symlinks to files outside the 'smbd' configured share path and gain access to another restricted server's filesystem.

osv:CVE-2022-3592
Complete source record
{
  "id": "de139a44d03d11b506b236d83112cedfb0f5bdbc3b1f07d24669fcb1416c684b",
  "url": "https://osv.dev/vulnerability/CVE-2022-3592",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-3592",
    "summary": "A symlink following vulnerability was found in Samba, where a user can create a symbolic link that will make 'smbd' escape the configured share path. This flaw allows a remote user with access to the exported part of the file system under a share via SMB1 unix extensions or NFS to create symlinks to files outside the 'smbd' configured share path and gain access to another restricted server's filesystem.",
    "evidence": "osv:CVE-2022-3592",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-3592",
      "aliases": [
        "CVE-2022-3592"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/samba-team/samba",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fbec737d9d3d992b54f52defcba62a304efef8f7"
                },
                {
                  "fixed": "21f995104c870cdfbdb0db61e290b2da8bc87ee1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.17.0"
                      },
                      {
                        "fixed": "4.17.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "samba-4.17.1",
            "samba-4.17.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3592.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.478120888Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/security/cve/CVE-2022-3592",
        "https://www.samba.org/samba/security/CVE-2022-3592.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3592.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-3592",
        "https://security.gentoo.org/glsa/202309-06",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2137776"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-61"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "Affects samba since 4.17.0, Fixed samba 4.17.2."
                  },
                  {
                    "last_affected": "Affects samba since 4.17.0, Fixed samba 4.17.2."
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3592.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-3592",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492146,
  "published_at": "2023-01-12T00:00:00+00:00"
}