Yes, Maryland recognizes the attractive nuisance doctrine, rooted in the 1921 Court of Appeals decision Pumphrey v. Baltimore & O.R. Co., 139 Md. 369.
A landowner who maintains a dangerous artificial condition—one likely to attract children who cannot appreciate the risk—owes a duty of reasonable care to prevent injury. Classic examples: unfenced pools, abandoned appliances, construction equipment, open pits.
If you own property in Maryland, secure or eliminate features that could lure kids—pool covers, locked gates, capped wells. The doctrine doesn't make you an insurer, but it does require foresight.